make CPU freezes take place immediately. fixes RaymanRR2 backgrounds occasionally getting cut in half.
This commit is contained in:
parent
db20d7408e
commit
54eeb38d3d
12
src/NDS.cpp
12
src/NDS.cpp
|
@ -558,8 +558,16 @@ bool HaltInterrupted(u32 cpu)
|
|||
|
||||
void StopCPU(u32 cpu, u32 mask)
|
||||
{
|
||||
if (cpu) mask <<= 16;
|
||||
CPUStop |= mask;
|
||||
if (cpu)
|
||||
{
|
||||
CPUStop |= (mask << 16);
|
||||
ARM7->Halt(2);
|
||||
}
|
||||
else
|
||||
{
|
||||
CPUStop |= mask;
|
||||
ARM9->Halt(2);
|
||||
}
|
||||
}
|
||||
|
||||
void ResumeCPU(u32 cpu, u32 mask)
|
||||
|
|
Loading…
Reference in New Issue