diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-11-16 22:59:28 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-11-16 22:59:28 +0000 |
commit | 59825952f3d98d29e03b094642655968d7abcc02 (patch) | |
tree | 5648bd1ec26aca707755221b7c8a058d6a2aeffb /apps/plugins/rockboy/main.c | |
parent | 32877021a5f72984117d059b461a561b3439b47b (diff) |
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
Diffstat (limited to 'apps/plugins/rockboy/main.c')
-rw-r--r-- | apps/plugins/rockboy/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 |