forked from len0rd/rockbox
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
This commit is contained in:
parent
32877021a5
commit
59825952f3
4 changed files with 452 additions and 455 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue