1
0
Fork 0
forked from len0rd/rockbox

Fixes a problem where the sim would try to start the WPS on HAVE_RTC_ALARM sims (FS#7862 with a small addition by me)

use the --alarm argument if you do want to simulate this behaviour


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15094 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2007-10-13 12:07:59 +00:00
parent 5fc117ea4e
commit c9d1ab7218
2 changed files with 8 additions and 1 deletions

View file

@ -54,6 +54,7 @@ SDL_TimerID tick_timer_id;
bool lcd_display_redraw = true; /* Used for player simulator */
char having_new_lcd = true; /* Used for player simulator */
bool sim_alarm_wakeup = false;
bool debug_audio = false;
@ -206,6 +207,9 @@ int main(int argc, char *argv[])
else
display_zoom = 2;
printf("Window zoom is %d\n", display_zoom);
} else if (!strcmp("--alarm", argv[x])) {
sim_alarm_wakeup = true;
printf("Simulating alarm wakeup.\n");
} else {
printf("rockboxui\n");
printf("Arguments:\n");
@ -214,6 +218,7 @@ int main(int argc, char *argv[])
printf(" --background \t Use background image of hardware\n");
printf(" --old_lcd \t [Player] simulate old playermodel (ROM version<4.51)\n");
printf(" --zoom [VAL]\t window zoom (will disable backgrounds)\n");
printf(" --alarm \t Simulate a wakup-up on Alarm\n");
exit(0);
}
}