summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/loader.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/rockboy/loader.c')
-rw-r--r--apps/plugins/rockboy/loader.c4
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";
static int saveslot;
static int forcebatt, nobatt;
-static int forcedmg;
+static int forcedmg, gbamode;
static int memfill = -1, memrand = -1;
@@ -181,7 +181,7 @@ int rom_load(void)
c = header[0x0143];
hw.cgb = ((c == 0x80) || (c == 0xc0)) && !forcedmg;
- hw.gba = 0; //(hw.cgb && gbamode);
+ hw.gba = (hw.cgb && gbamode);
close(fd);