mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-21 05:09:46 -06:00
* start GPU shit: draw BG0 16-color.
* fix a few DMA bugs. * fix a bug where some code could still run right after a halt instruction. * fix VRAM mapping, too. I'm an idiot.
This commit is contained in:
3
ARM.cpp
3
ARM.cpp
@ -228,7 +228,7 @@ s32 ARM::Execute(s32 cycles)
|
||||
if (Halted)
|
||||
{
|
||||
if (NDS::HaltInterrupted(Num))
|
||||
Halted = false;
|
||||
Halted = 0;
|
||||
else
|
||||
return cycles;
|
||||
}
|
||||
@ -283,6 +283,7 @@ s32 ARM::Execute(s32 cycles)
|
||||
}
|
||||
|
||||
// TODO optimize this shit!!!
|
||||
if (Halted) return cycles;
|
||||
if (NDS::HaltInterrupted(Num))
|
||||
{
|
||||
if (NDS::IME[Num]&1)
|
||||
|
Reference in New Issue
Block a user