Commit eaa9b6c5 authored by retro-wertz's avatar retro-wertz Committed by Rafael Kitover
Browse files

Map Viewer: Fix crash when running a gb/gbc game,

...caused by invalid start address of mapbase.

parent 91ee8cad
......@@ -565,6 +565,8 @@ public:
: GfxViewer(wxT("GBMapViewer"), 256, 256)
charbase = 0x0000;
mapbase = 0x1800;
getradio(, "CharBase0", charbase, 0x0000);
getradio(, "CharBase1", charbase, 0x0800);
getradio(, "MapBase0", mapbase, 0x1800);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment