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:
1 parent
08884746ed
commit
d3ec630904
4 files changed
+6
-6
No files matched your search
@@ -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