mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-01 08:25:18 +01:00
fix commit failure
This commit is contained in:
parent
b533b8824f
commit
96763c6e19
2
source/ngc/lang/de.lang
Normal file
2
source/ngc/lang/de.lang
Normal file
@ -0,0 +1,2 @@
|
||||
msgid " "
|
||||
msgstr ""
|
2
source/ngc/lang/en.lang
Normal file
2
source/ngc/lang/en.lang
Normal file
@ -0,0 +1,2 @@
|
||||
msgid " "
|
||||
msgstr ""
|
2
source/ngc/lang/es.lang
Normal file
2
source/ngc/lang/es.lang
Normal file
@ -0,0 +1,2 @@
|
||||
msgid " "
|
||||
msgstr ""
|
2
source/ngc/lang/fr.lang
Normal file
2
source/ngc/lang/fr.lang
Normal file
@ -0,0 +1,2 @@
|
||||
msgid " "
|
||||
msgstr ""
|
2
source/ngc/lang/it.lang
Normal file
2
source/ngc/lang/it.lang
Normal file
@ -0,0 +1,2 @@
|
||||
msgid " "
|
||||
msgstr ""
|
2
source/ngc/lang/jp.lang
Normal file
2
source/ngc/lang/jp.lang
Normal file
@ -0,0 +1,2 @@
|
||||
msgid " "
|
||||
msgstr ""
|
2
source/ngc/lang/ko.lang
Normal file
2
source/ngc/lang/ko.lang
Normal file
@ -0,0 +1,2 @@
|
||||
msgid " "
|
||||
msgstr ""
|
2
source/ngc/lang/nl.lang
Normal file
2
source/ngc/lang/nl.lang
Normal file
@ -0,0 +1,2 @@
|
||||
msgid " "
|
||||
msgstr ""
|
2
source/ngc/lang/zh.lang
Normal file
2
source/ngc/lang/zh.lang
Normal file
@ -0,0 +1,2 @@
|
||||
msgid " "
|
||||
msgstr ""
|
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user