Trivial modifications to match my use case in a Lego Game Boy.
This commit is contained in:
+2
-2
@@ -68,7 +68,8 @@ void startEmulator() {
|
||||
|
||||
/* Automatically assign a colour palette to the game */
|
||||
char rom_title[16];
|
||||
auto_assign_palette(palette, gb_colour_hash(&gb), gb_get_rom_name(&gb, rom_title));
|
||||
//auto_assign_palette(palette, gb_colour_hash(&gb), gb_get_rom_name(&gb, rom_title));
|
||||
get_colour_palette(palette, 0x16, 0x00);
|
||||
|
||||
#if ENABLE_LCD
|
||||
gb_init_lcd(&gb, &lcd_draw_line);
|
||||
@@ -166,7 +167,6 @@ void setup() {
|
||||
|
||||
void loop() {
|
||||
gb.gb_frame = 0;
|
||||
|
||||
do {
|
||||
__gb_step_cpu(&gb);
|
||||
tight_loop_contents();
|
||||
|
||||
Reference in New Issue
Block a user