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);
|
||||
#if (defined __WIN32__ || defined _WIN32)
|
||||
#ifndef NO_LINK
|
||||
gbSerialFunction = gbStartLink;
|
||||
#else
|
||||
gbSerialFunction = NULL;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
if (winGbPrinterEnabled)
|
||||
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->enable_menus();
|
||||
#if (defined __WIN32__ || defined _WIN32)
|
||||
#ifndef NO_LINK
|
||||
gbSerialFunction = gbStartLink;
|
||||
#else
|
||||
gbSerialFunction = NULL;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// probably only need to do this for GB carts
|
||||
|
|
Loading…
Reference in New Issue