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/loader.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/loader.c')
-rw-r--r-- | apps/plugins/rockboy/loader.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/plugins/rockboy/loader.c b/apps/plugins/rockboy/loader.c index 0a8eaba13f..1dd712f1e5 100644 --- a/apps/plugins/rockboy/loader.c +++ b/apps/plugins/rockboy/loader.c | |||
@@ -81,7 +81,6 @@ static char rtcfile[500]; | |||
81 | static char saveprefix[500]; | 81 | static char saveprefix[500]; |
82 | 82 | ||
83 | static char *savename; | 83 | static char *savename; |
84 | static char *savedir = "/.rockbox/rockboy"; | ||
85 | 84 | ||
86 | static int saveslot; | 85 | static int saveslot; |
87 | 86 | ||
@@ -332,14 +331,14 @@ void cleanup(void) | |||
332 | void loader_init(char *s) | 331 | void loader_init(char *s) |
333 | { | 332 | { |
334 | char *name; | 333 | char *name; |
335 | DIR* dir; | 334 | // DIR* dir; |
336 | 335 | ||
337 | // sys_checkdir(savedir, 1); /* needs to be writable */ | 336 | // sys_checkdir(savedir, 1); /* needs to be writable */ |
338 | dir=opendir(savedir); | 337 | /* dir=opendir(savedir); // should be handled when the program opens |
339 | if(!dir) | 338 | if(!dir) |
340 | mkdir(savedir,0); | 339 | mkdir(savedir,0); |
341 | else | 340 | else |
342 | closedir(dir); | 341 | closedir(dir);*/ |
343 | 342 | ||
344 | romfile = s; | 343 | romfile = s; |
345 | if(rom_load()) | 344 | if(rom_load()) |