diff options
Diffstat (limited to 'apps/plugins/rockboy/loader.c')
-rw-r--r-- | apps/plugins/rockboy/loader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/rockboy/loader.c b/apps/plugins/rockboy/loader.c index 53839d6150..0a8eaba13f 100644 --- a/apps/plugins/rockboy/loader.c +++ b/apps/plugins/rockboy/loader.c | |||
@@ -86,7 +86,7 @@ static char *savedir = "/.rockbox/rockboy"; | |||
86 | static int saveslot; | 86 | static int saveslot; |
87 | 87 | ||
88 | static int forcebatt, nobatt; | 88 | static int forcebatt, nobatt; |
89 | static int forcedmg; | 89 | static int forcedmg, gbamode; |
90 | 90 | ||
91 | static int memfill = -1, memrand = -1; | 91 | static int memfill = -1, memrand = -1; |
92 | 92 | ||
@@ -181,7 +181,7 @@ int rom_load(void) | |||
181 | 181 | ||
182 | c = header[0x0143]; | 182 | c = header[0x0143]; |
183 | hw.cgb = ((c == 0x80) || (c == 0xc0)) && !forcedmg; | 183 | hw.cgb = ((c == 0x80) || (c == 0xc0)) && !forcedmg; |
184 | hw.gba = 0; //(hw.cgb && gbamode); | 184 | hw.gba = (hw.cgb && gbamode); |
185 | 185 | ||
186 | close(fd); | 186 | close(fd); |
187 | 187 | ||