fix potential issues with 32bit GPU writes
This commit is contained in:
parent
0294bcb5f2
commit
529a690089
|
@ -532,8 +532,8 @@ void Unit::Write32(u32 addr, u32 val)
|
|||
return;
|
||||
}
|
||||
|
||||
if (!Enabled) return;
|
||||
|
||||
if (Enabled)
|
||||
{
|
||||
switch (addr & 0x00000FFF)
|
||||
{
|
||||
case 0x028:
|
||||
|
@ -558,6 +558,7 @@ void Unit::Write32(u32 addr, u32 val)
|
|||
if (GPU::VCount < 192) BGYRefInternal[1] = BGYRef[1];
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Write16(addr, val&0xFFFF);
|
||||
Write16(addr+2, val>>16);
|
||||
|
|
Loading…
Reference in New Issue