fix linux compile bug

This commit is contained in:
zeromus 2009-07-20 01:06:06 +00:00
parent 06e4bcfbb1
commit a61483d87d
1 changed files with 1 additions and 1 deletions

View File

@ -882,7 +882,7 @@ int NDS_LoadROM(const char *filename, const char *logicalFilename)
if(!strcasecmp(path.extension().c_str(), "zip")) type = ROM_NDS; if(!strcasecmp(path.extension().c_str(), "zip")) type = ROM_NDS;
else if ( !strcasecmp(path.extension().c_str(), "nds")) else if ( !strcasecmp(path.extension().c_str(), "nds"))
type = ROM_NDS; type = ROM_NDS;
else if ( path.isdsgba()) else if ( path.isdsgba(path.path))
type = ROM_DSGBA; type = ROM_DSGBA;
else else
type = ROM_NDS; type = ROM_NDS;