Core: Pre-shift pagetable_hashmask left by 6

This will make the upcoming commits just a little bit neater to
implement.
This commit is contained in:
JosJuice
2026-01-03 22:18:45 +01:00
parent 08884746ed
commit d3ec630904
4 changed files with 6 additions and 6 deletions

View File

@@ -494,7 +494,7 @@ void RegisterWidget::PopulateTable()
31, 5, RegisterType::pt_hashmask, "Hash Mask",
[this] {
const auto& ppc_state = m_system.GetPPCState();
return (ppc_state.pagetable_hashmask << 6) | ppc_state.pagetable_base;
return ppc_state.pagetable_mask | ppc_state.pagetable_base;
},
nullptr);