Fixed compiling without sfml.
This commit is contained in:
parent
c2a23a9ffe
commit
f7f67ff6f9
|
@ -2489,11 +2489,12 @@ EVT_HANDLER(Printer, "Enable printer emulation")
|
||||||
{
|
{
|
||||||
GetMenuOptionInt("Printer", winGbPrinterEnabled, 1);
|
GetMenuOptionInt("Printer", winGbPrinterEnabled, 1);
|
||||||
#if (defined __WIN32__ || defined _WIN32)
|
#if (defined __WIN32__ || defined _WIN32)
|
||||||
|
#ifndef NO_LINK
|
||||||
gbSerialFunction = gbStartLink;
|
gbSerialFunction = gbStartLink;
|
||||||
#else
|
#else
|
||||||
gbSerialFunction = NULL;
|
gbSerialFunction = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
if (winGbPrinterEnabled)
|
if (winGbPrinterEnabled)
|
||||||
gbSerialFunction = gbPrinterSend;
|
gbSerialFunction = gbPrinterSend;
|
||||||
|
|
||||||
|
|
|
@ -307,9 +307,11 @@ void GameArea::LoadGame(const wxString& name)
|
||||||
mf->cmd_enable |= loaded == IMAGE_GB ? CMDEN_GB : (CMDEN_GBA | CMDEN_NGDB_GBA);
|
mf->cmd_enable |= loaded == IMAGE_GB ? CMDEN_GB : (CMDEN_GBA | CMDEN_NGDB_GBA);
|
||||||
mf->enable_menus();
|
mf->enable_menus();
|
||||||
#if (defined __WIN32__ || defined _WIN32)
|
#if (defined __WIN32__ || defined _WIN32)
|
||||||
|
#ifndef NO_LINK
|
||||||
gbSerialFunction = gbStartLink;
|
gbSerialFunction = gbStartLink;
|
||||||
#else
|
#else
|
||||||
gbSerialFunction = NULL;
|
gbSerialFunction = NULL;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// probably only need to do this for GB carts
|
// probably only need to do this for GB carts
|
||||||
|
|
Loading…
Reference in New Issue