summaryrefslogtreecommitdiff
path: root/home.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-05-31 00:39:09 -0700
committeryenatch <yenatch@gmail.com>2014-05-31 00:39:09 -0700
commitd424eb44385c8f9e02d982b715a658e395e56c4b (patch)
tree618e6e4d54bdb6cc43fa828ffcd8c6669a13a065 /home.asm
parentf59f03c685a84368ff6110d2677fabc888cd89b1 (diff)
Use rgbasm -h to use halt without nops.
Diffstat (limited to 'home.asm')
-rw-r--r--home.asm5
1 files changed, 1 insertions, 4 deletions
diff --git a/home.asm b/home.asm
index 11879c3e..dd2433ad 100644
--- a/home.asm
+++ b/home.asm
@@ -1861,10 +1861,7 @@ NOT_VBLANKED EQU 1
ld a, NOT_VBLANKED
ld [H_VBLANKOCCURRED], a
.halt
- ; XXX this is a hack--rgbasm adds
- ; a nop after halts by default.
- db $76 ; halt
-
+ halt
ld a, [H_VBLANKOCCURRED]
and a
jr nz, .halt