* Changed config file format, files are now human-readable. Game specific\r
configs are now held in single file (but old game config files are still\r
read).\r
- * Fixed a bug where some key combos didn't work.\r
- * Fixed a regression in renderer (rare graphic glitches).\r
+ * Fixed a bug where some key combos didn't work as expected.\r
+ * Fixed a regression in renderer (some graphic glitches in rare cases).\r
* Adjusted fast rernderer to work with more games, including VR.\r
+ * Fixed a problem where SegaCD RAM cart data was getting lost on reset.\r
\r
1.35b\r
* PSP: mp3 code should no longer fail on 1.5 firmware.\r
int size;
FILE *f;
- if (strlen(lastRomFile) == 0) return 0;
+ if (strlen(lastRomFile) == 0) return -1;
f = fopen(fname, "r");
if (f != NULL)
FILE *f;
f = fopen(fname, "r");
- if (f == NULL) return 0;
+ if (f == NULL) return -1;
if (section != NULL)
{
#include <linux/limits.h>\r
#include <ctype.h>\r
#include <unistd.h>\r
-#include <sched.h>\r
\r
#include <stdarg.h>\r
\r
gettimeofday(&tval, 0);\r
if (thissec != tval.tv_sec) tval.tv_usec+=1000000;\r
\r
- if (tval.tv_usec < lim_time)\r
- sched_yield();\r
-\r
while (tval.tv_usec < lim_time)\r
{\r
spend_cycles(1024);\r
}\r
\r
if (unrecognized) {\r
- printf("\n\n\nPicoDrive v" VERSION " (c) notaz, 2006-2007\n");\r
+ printf("\n\n\nPicoDrive v" VERSION " (c) notaz, 2006-2008\n");\r
printf("usage: %s [options] [romfile]\n", argv[0]);\r
printf( "options:\n"\r
"-menu <menu_path> launch a custom program on exit instead of default gp2xmenu\n"\r