From 59825952f3d98d29e03b094642655968d7abcc02 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 16 Nov 2005 22:59:28 +0000 Subject: Rockboy: adapted to colour LCD (but no colours for gameboy color games yet). Some cleanup; killed a ton of TABs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7915 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/rockboy/main.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/plugins/rockboy/main.c') diff --git a/apps/plugins/rockboy/main.c b/apps/plugins/rockboy/main.c index 175ae78d86..6a99f6aa88 100644 --- a/apps/plugins/rockboy/main.c +++ b/apps/plugins/rockboy/main.c @@ -84,6 +84,11 @@ int gnuboy_main(char *rom) PUTS("Emu reset"); emu_reset(); PUTS("Emu run"); +#if (LCD_HEIGHT > 144) || (LCD_WIDTH > 160) + rb->lcd_clear_display(); + rb->lcd_drawrect((LCD_WIDTH-160)/2-1, (LCD_HEIGHT-144)/2-1, 162, 146); + rb->lcd_update(); +#endif emu_run(); // never reached -- cgit v1.2.3