1
0
Fork 0
forked from len0rd/rockbox

brickmania: Disable resuming after game over

This commit is contained in:
Wieland Hoffmann 2011-09-25 15:42:11 +02:00 committed by Dominik Riebeling
parent 5f37840e31
commit 84355f3493

View file

@ -2407,6 +2407,12 @@ static int brickmania_game_loop(void)
} }
else else
{ {
resume = false;
if(resume_file)
{
rb->remove(SAVE_FILE);
resume_file = false;
}
#ifdef HAVE_LCD_COLOR #ifdef HAVE_LCD_COLOR
rb->lcd_bitmap_transparent(brickmania_gameover, rb->lcd_bitmap_transparent(brickmania_gameover,
(LCD_WIDTH - INT3(GAMEOVER_WIDTH))/2, (LCD_WIDTH - INT3(GAMEOVER_WIDTH))/2,