minor changes

This commit is contained in:
dborth 2008-10-02 21:07:38 +00:00
parent af596450f7
commit fcbefda1f5
4 changed files with 3 additions and 19 deletions

View File

@ -33,8 +33,7 @@ extern int offset;
extern int selection;
extern char currentdir[MAXPATHLEN];
extern int maxfiles;
extern char ROMFilename[512];
extern char romFilename[512];
void AllocSaveBuffer();
void FreeSaveBuffer();

View File

@ -85,7 +85,7 @@ ConnectShare (bool silent)
strlen(GCSettings.smbip) == 0)
{
if(!silent)
WaitPrompt((char*) "Invalid network settings. Check SNES9xGX.xml.");
WaitPrompt((char*) "Invalid network settings. Check VBAGX.xml.");
return false;
}
@ -319,7 +319,6 @@ LoadBufferFromSMB (char * sbuffer, char *filepath, int length, bool silent)
if (IsZipFile (sbuffer))
{
WaitPrompt("In a ZIP");
boffset = UnZipFile ((unsigned char *)sbuffer, smbfile); // unzip from SMB
}
else

View File

@ -81,7 +81,7 @@ int systemColorDepth = 0;
u16 systemGbPalette[24];
u16 systemColorMap16[0x10000];
//u32 systemColorMap32[0x10000];
u32 *systemColorMap32 = (u32 *)&systemColorMap16;
u32 *systemColorMap32 = NULL;
struct EmulatedSystem emulator =
{
@ -509,9 +509,6 @@ bool LoadGBROM(int method)
systemSaveUpdateCounter = SYSTEM_SAVE_NOT_UPDATED;
if(method == METHOD_AUTO)
method = autoLoadMethod();
switch (method)
{
case METHOD_SD:

View File

@ -107,9 +107,6 @@ bool VMCPULoadROM(int method)
GBAROMSize = 0;
rom = (u8 *)MEM2Storage;
if(method == METHOD_AUTO)
method = autoLoadMethod();
switch (method)
{
case METHOD_SD:
@ -385,18 +382,10 @@ int VMCPULoadROM(int method)
loadtimeradjust = useVM = GBAROMSize = 0;
if(method == METHOD_AUTO)
method = autoLoadMethod();
switch (method)
{
case METHOD_SD:
case METHOD_USB:
if(!ChangeFATInterface(method, NOTSILENT))
{
VMClose();
return 0;
}
break;
case METHOD_DVD: