Skip to content

Commit

Permalink
hb: Derp fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Mar 7, 2024
1 parent 03143d0 commit a7e0d1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hb/arm9/source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@ void runFile(string filename, string fullPath, string homebrewArg, string ramDis
int romFileType = -1;
bool romIsCompressed = false;
if ((strcasecmp (ramDiskFilename.c_str() + ramDiskFilename.size() - 4, ".gen") == 0)
|| (strcasecmp (ramDiskFilename.c_str() + ramDiskFilename.size() - 4, ".md") == 0))
|| (strcasecmp (ramDiskFilename.c_str() + ramDiskFilename.size() - 3, ".md") == 0))
{
romFileType = 0;
romIsCompressed = ((strcasecmp (ramDiskFilename.c_str() + ramDiskFilename.size() - 9, ".lz77.gen") == 0)
|| (strcasecmp (ramDiskFilename.c_str() + ramDiskFilename.size() - 9, ".lz77.md") == 0));
|| (strcasecmp (ramDiskFilename.c_str() + ramDiskFilename.size() - 8, ".lz77.md") == 0));
}
else if ((strcasecmp (ramDiskFilename.c_str() + ramDiskFilename.size() - 4, ".smc") == 0)
|| (strcasecmp (ramDiskFilename.c_str() + ramDiskFilename.size() - 4, ".sfc") == 0))
Expand Down

0 comments on commit a7e0d1a

Please sign in to comment.