Skip to content

Commit

Permalink
Restore OpenEmu workarounds from commits 622eb6a & c6c5306
Browse files Browse the repository at this point in the history
  • Loading branch information
clobber committed Dec 19, 2022
1 parent 4fad1f3 commit d2dc097
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/gfx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2093,7 +2093,8 @@ static uint16 get_crosshair_color (uint8 color)

void S9xDrawCrosshair (const char *crosshair, uint8 fgcolor, uint8 bgcolor, int16 x, int16 y)
{
if (!crosshair)
// OpenEmu
//if (!crosshair)
return;

int16 r, rx = 1, c, cx = 1, W = SNES_WIDTH, H = PPU.ScreenHeight;
Expand Down
4 changes: 3 additions & 1 deletion src/memmap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1267,7 +1267,9 @@ uint32 CMemory::FileLoader (uint8 *buffer, const char *filename, uint32 maxsize)
_makepath(fname, drive, dir, name, exts);

int nFormat = FILE_DEFAULT;
if (strcasecmp(ext, "zip") == 0 || strcasecmp(ext, "msu1") == 0)
// OpenEmu
//if (strcasecmp(ext, "zip") == 0 || strcasecmp(ext, "msu1") == 0)
if (strcasecmp(ext, "msu1") == 0)
nFormat = FILE_ZIP;
else
if (strcasecmp(ext, "jma") == 0)
Expand Down

0 comments on commit d2dc097

Please sign in to comment.