mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-09-07 19:06:48 -05:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user