summaryrefslogtreecommitdiff
path: root/gb.h
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2018-06-25 23:27:57 -0400
committerPaul Duncan <pabs@pablotron.org>2018-06-25 23:27:57 -0400
commit986ba80832c3d355352fa3c936199f388f682a46 (patch)
tree31c84889f69de601840d1d8315c8f6b8254ac966 /gb.h
parenteedfbeae69b7f18237aa9d159d297ce717d629ab (diff)
downloadgb-c-986ba80832c3d355352fa3c936199f388f682a46.tar.bz2
gb-c-986ba80832c3d355352fa3c936199f388f682a46.zip
init gpu, put clock update before instruction
Diffstat (limited to 'gb.h')
-rw-r--r--gb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gb.h b/gb.h
index 2aff333..ea092a2 100644
--- a/gb.h
+++ b/gb.h
@@ -51,7 +51,7 @@ struct gb_t_ {
// FIXME: combine these?
uint8_t ram[0x2000]; // working ram (8k)
- uint8_t eram[65536]; // external ram (banked, up to 64k)
+ uint8_t eram[0x10000]; // external ram (banked, up to 64k)
uint8_t vram[0x2000]; // vram (8k)
uint8_t oam[0xA0]; // oam (160 bytes)
uint8_t zram[0x7F]; // zram (128 bytes)