diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2006-01-10 21:55:56 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2006-01-10 21:55:56 +0000 |
commit | cf218e33eca3abcc1067b9e78f1c82510bfe7c69 (patch) | |
tree | 5f60203774b1080ddfb62092681005d163d4cbb9 /apps/plugins/rockboy/loader.c | |
parent | 640eeabfe113695a22bf60ba327210a5526b187d (diff) | |
download | rockbox-cf218e33eca3abcc1067b9e78f1c82510bfe7c69.tar.gz rockbox-cf218e33eca3abcc1067b9e78f1c82510bfe7c69.zip |
Patch #1401999 by Karl Kurbjun - Rockboy color, sound support, and speedups
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8324 a1c6a512-1295-4272-9138-f99709370657
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 | ||