summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/emu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/rockboy/emu.c')
-rw-r--r--apps/plugins/rockboy/emu.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/apps/plugins/rockboy/emu.c b/apps/plugins/rockboy/emu.c
index 02e5fa0b1c..d04fa9a0fb 100644
--- a/apps/plugins/rockboy/emu.c
+++ b/apps/plugins/rockboy/emu.c
@@ -32,7 +32,6 @@ void emu_step(void)
32 * make things work in the mean time. */ 32 * make things work in the mean time. */
33void emu_run(void) 33void emu_run(void)
34{ 34{
35 /*void *timer = sys_timer();*/
36 int framesin=0,frames=0,timeten=*rb->current_tick, timehun=*rb->current_tick; 35 int framesin=0,frames=0,timeten=*rb->current_tick, timehun=*rb->current_tick;
37 36
38 setvidmode(); 37 setvidmode();
@@ -48,20 +47,13 @@ void emu_run(void)
48 while (R_LY > 0 && R_LY < 144) 47 while (R_LY > 0 && R_LY < 144)
49 emu_step(); 48 emu_step();
50 49
51 rtc_tick(); /* RTC support not implemented */ 50 rtc_tick();
52 51
53 if (options.sound || !plugbuf) 52 if (options.sound || !plugbuf)
54 { 53 {
55 sound_mix(); 54 sound_mix();
56 pcm_submit(); 55 pcm_submit();
57 } 56 }
58 else
59 {
60/* delay = framelen - sys_elapsed(timer);
61 sys_sleep(delay);
62 sys_elapsed(timer);
63*/
64 }
65 57
66 doevents(); 58 doevents();
67 vid_begin(); 59 vid_begin();