diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-01-20 13:05:52 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-01-20 13:05:52 +0000 |
commit | 137fb6cb9f0478303610443b95ae0a106f0a17d1 (patch) | |
tree | 9ac6685589536bc7c84962db8398fddf9d2b3154 /apps/plugins/rockboy/fastmem.c | |
parent | c05cd1676f323f1346099f436aaa0212fd18e178 (diff) | |
download | rockbox-137fb6cb9f0478303610443b95ae0a106f0a17d1.tar.gz rockbox-137fb6cb9f0478303610443b95ae0a106f0a17d1.zip |
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
Diffstat (limited to 'apps/plugins/rockboy/fastmem.c')
-rw-r--r-- | apps/plugins/rockboy/fastmem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/rockboy/fastmem.c b/apps/plugins/rockboy/fastmem.c index d883438ce1..7f5b0b445f 100644 --- a/apps/plugins/rockboy/fastmem.c +++ b/apps/plugins/rockboy/fastmem.c | |||
@@ -14,7 +14,7 @@ | |||
14 | 14 | ||
15 | const byte himask[256]; | 15 | const byte himask[256]; |
16 | 16 | ||
17 | const byte hi_rmap[256] = | 17 | const byte hi_rmap[256] ICONST_ATTR = |
18 | { | 18 | { |
19 | 0, 0, R, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | 19 | 0, 0, R, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
20 | S, S, S, S, S, S, S, S, S, S, S, S, S, S, S, S, | 20 | S, S, S, S, S, S, S, S, S, S, S, S, S, S, S, S, |
@@ -26,7 +26,7 @@ const byte hi_rmap[256] = | |||
26 | C, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 | 26 | C, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 |
27 | }; | 27 | }; |
28 | 28 | ||
29 | const byte hi_wmap[256] = | 29 | const byte hi_wmap[256] ICONST_ATTR = |
30 | { | 30 | { |
31 | R, R, R, R, R, R, R, R, R, R, R, R, R, R, R, R, | 31 | R, R, R, R, R, R, R, R, R, R, R, R, R, R, R, R, |
32 | S, S, S, S, S, S, S, S, S, S, S, S, S, S, S, S, | 32 | S, S, S, S, S, S, S, S, S, S, S, S, S, S, S, S, |