mirror of
https://github.com/dborth/vbagx.git
synced 2025-01-12 18:49:06 +01:00
minor changes
This commit is contained in:
parent
af596450f7
commit
fcbefda1f5
@ -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();
|
||||
|
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user