mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Migrate SConfig::bWii to System.
This commit is contained in:
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user