From 65c37970302489462dad390044fa1dda7cd40351 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Sun, 21 Aug 2022 19:57:29 +0200 Subject: [PATCH] Emulator: Fix memory end address for bootrom segment 1 --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index e02934c..f381970 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -30,7 +30,7 @@ int main(int argc, char* argv[]) // https://gbdev.io/pandocs/Memory_Map.html // https://gbdev.io/pandocs/Power_Up_Sequence.html - Emu::the().addMemorySpace("BOOTROM1", 0x0000, 0x0100); // 256B + Emu::the().addMemorySpace("BOOTROM1", 0x0000, 0x00ff); // 256B Emu::the().addMemorySpace("BOOTROM2", 0x0200, 0x08ff); // 1792B Emu::the().addMemorySpace("VRAM", 0x8000, 0x9fff, 2); // 8KiB * 2 banks Emu::the().addMemorySpace("CARDRAM", 0xa000, 0xbfff); // 8KiB