apparently they suck at keeping their SDL distributions up to date

This commit is contained in:
StapleButter 2017-07-05 21:37:28 +02:00
parent 4a992dbfd7
commit d357b1c2ac
1 changed files with 8 additions and 2 deletions

View File

@ -29,6 +29,12 @@
#include "EmuConfig.h" #include "EmuConfig.h"
// blarg
#ifndef SDL_PIXELFORMAT_RGBA32
#define SDL_PIXELFORMAT_RGBA32 SDL_PIXELFORMAT_ABGR8888
#endif // SDL_PIXELFORMAT_RGBA32
wxIMPLEMENT_APP_NO_MAIN(wxApp_melonDS); wxIMPLEMENT_APP_NO_MAIN(wxApp_melonDS);
@ -99,7 +105,7 @@ bool wxApp_melonDS::OnInit()
printf("melonDS " MELONDS_VERSION "\n" MELONDS_URL "\n"); printf("melonDS " MELONDS_VERSION "\n" MELONDS_URL "\n");
Config::Load(); Config::Load();
if (!_fileexists("bios7.bin") || !_fileexists("bios9.bin") || !_fileexists("firmware.bin")) if (!_fileexists("bios7.bin") || !_fileexists("bios9.bin") || !_fileexists("firmware.bin"))
{ {
wxMessageBox( wxMessageBox(
@ -111,7 +117,7 @@ bool wxApp_melonDS::OnInit()
"Make sure that the files can be accessed.", "Make sure that the files can be accessed.",
"melonDS", "melonDS",
wxICON_ERROR); wxICON_ERROR);
return false; return false;
} }