mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 00:59:44 +00:00
Migrate SConfig::bWii to System.
This commit is contained in:
parent
8d515d407c
commit
9a3e770c23
40 changed files with 110 additions and 133 deletions
|
@ -155,7 +155,12 @@ union UCPClearReg
|
|||
UCPClearReg(u16 _hex) { Hex = _hex; }
|
||||
};
|
||||
|
||||
u32 GetPhysicalAddressMask();
|
||||
constexpr u32 GetPhysicalAddressMask(bool is_wii)
|
||||
{
|
||||
// Physical addresses in CP seem to ignore some of the upper bits (depending on platform)
|
||||
// This can be observed in CP MMIO registers by setting to 0xffffffff and then reading back.
|
||||
return is_wii ? 0x1fffffff : 0x03ffffff;
|
||||
}
|
||||
|
||||
class CommandProcessorManager
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue