From 137fb6cb9f0478303610443b95ae0a106f0a17d1 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 20 Jan 2006 13:05:52 +0000 Subject: Karl Kurbjun's patch #1407719: Here's another patch for rockboy that adds automatic frameskip (it's pretty rough as I haven't figured out an accurate timer), fullscreen support on the H300, and a bit of assembly and some IRAM stuff. I'm not sure if I'm doing the IRAM stuff correct though as it doesn't seem to make much of a difference if any. I've also added a statistics option that will show how many frames per second the gameboy is seeing (not what the player is getting) and what the frameskip is at. When you enable stats sometimes you have to go back into the menu and then come out to clear erronous values. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8397 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/rockboy/cpu-gb.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'apps/plugins/rockboy/cpu-gb.h') diff --git a/apps/plugins/rockboy/cpu-gb.h b/apps/plugins/rockboy/cpu-gb.h index 937b477b53..dfb8734823 100644 --- a/apps/plugins/rockboy/cpu-gb.h +++ b/apps/plugins/rockboy/cpu-gb.h @@ -48,12 +48,12 @@ extern int blockclen; #endif void cpu_reset(void); -void div_advance(int cnt); -void timer_advance(int cnt); -void lcdc_advance(int cnt); -void sound_advance(int cnt); -void cpu_timers(int cnt); +void div_advance(int cnt) ICODE_ATTR; +void timer_advance(int cnt) ICODE_ATTR; +void lcdc_advance(int cnt) ICODE_ATTR; +void sound_advance(int cnt) ICODE_ATTR; +void cpu_timers(int cnt) ICODE_ATTR; int cpu_emulate(int cycles) ICODE_ATTR; -int cpu_step(int max) ICODE_ATTR; +inline int cpu_step(int max); #endif -- cgit v1.2.3