fix commit failure

This commit is contained in:
dborth 2010-01-25 08:32:50 +00:00
parent b533b8824f
commit 96763c6e19
11 changed files with 25 additions and 16 deletions

2
source/ngc/lang/de.lang Normal file
View File

@ -0,0 +1,2 @@
msgid " "
msgstr ""

2
source/ngc/lang/en.lang Normal file
View File

@ -0,0 +1,2 @@
msgid " "
msgstr ""

2
source/ngc/lang/es.lang Normal file
View File

@ -0,0 +1,2 @@
msgid " "
msgstr ""

2
source/ngc/lang/fr.lang Normal file
View File

@ -0,0 +1,2 @@
msgid " "
msgstr ""

2
source/ngc/lang/it.lang Normal file
View File

@ -0,0 +1,2 @@
msgid " "
msgstr ""

2
source/ngc/lang/jp.lang Normal file
View File

@ -0,0 +1,2 @@
msgid " "
msgstr ""

2
source/ngc/lang/ko.lang Normal file
View File

@ -0,0 +1,2 @@
msgid " "
msgstr ""

2
source/ngc/lang/nl.lang Normal file
View File

@ -0,0 +1,2 @@
msgid " "
msgstr ""

2
source/ngc/lang/zh.lang Normal file
View File

@ -0,0 +1,2 @@
msgid " "
msgstr ""

View File

@ -346,7 +346,7 @@ void USBGeckoOutput()
int
main(int argc, char *argv[])
{
USBGeckoOutput(); // uncomment to enable USB gecko output
//USBGeckoOutput(); // uncomment to enable USB gecko output
__exception_setreload(8);
#ifdef HW_DOL

View File

@ -84,8 +84,11 @@ LoadSRAMAuto (bool silent)
return false;
if(LoadSRAM(filepath2, silent))
{
// rename this file - append Auto
rename(filepath2, filepath); // rename file (to avoid duplicates)
return true;
}
return false;
}
@ -138,21 +141,9 @@ SaveSRAMAuto (bool silent)
{
char filepath[1024];
// look for file with no number or Auto appended
if(!MakeFilePath(filepath, FILE_SRAM, Memory.ROMFilename, -1))
if(!MakeFilePath(filepath, FILE_SRAM, Memory.ROMFilename, 0))
return false;
FILE * fp = fopen (filepath, "rb");
if(fp) // file found
{
fclose (fp);
}
else
{
if(!MakeFilePath(filepath, FILE_SRAM, Memory.ROMFilename, 0))
return false;
}
return SaveSRAM(filepath, silent);
}