mirror of
https://github.com/gbdev/rgbds.git
synced 2025-12-04 16:57:47 +00:00
Make it possible to disable emitting nop after halt.
This commit is contained in:
@@ -153,8 +153,13 @@ z80_ex : T_Z80_EX T_MODE_HL comma T_MODE_SP_IND
|
||||
{ out_AbsByte(0xE3); }
|
||||
;
|
||||
|
||||
z80_halt : T_Z80_HALT
|
||||
{ out_AbsByte(0x76); out_AbsByte(0x00); }
|
||||
z80_halt: T_Z80_HALT
|
||||
{
|
||||
out_AbsByte(0x76);
|
||||
if (haltnop) {
|
||||
out_AbsByte(0x00);
|
||||
}
|
||||
}
|
||||
;
|
||||
|
||||
z80_inc : T_Z80_INC reg_r
|
||||
|
||||
Reference in New Issue
Block a user