mirror of https://github.com/stella-emu/stella.git
Fixed compile when --disable-cheats is passed to configure
This commit is contained in:
parent
b2c8c3ff81
commit
6ff2095a9f
|
@ -18,7 +18,9 @@
|
||||||
#ifndef OSYSTEM_HXX
|
#ifndef OSYSTEM_HXX
|
||||||
#define OSYSTEM_HXX
|
#define OSYSTEM_HXX
|
||||||
|
|
||||||
|
#ifdef CHEATCODE_SUPPORT
|
||||||
class CheatManager;
|
class CheatManager;
|
||||||
|
#endif
|
||||||
class CommandMenu;
|
class CommandMenu;
|
||||||
class Console;
|
class Console;
|
||||||
class Debugger;
|
class Debugger;
|
||||||
|
@ -462,8 +464,10 @@ class OSystem
|
||||||
unique_ptr<Debugger> myDebugger;
|
unique_ptr<Debugger> myDebugger;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CHEATCODE_SUPPORT
|
||||||
// Pointer to the CheatManager object
|
// Pointer to the CheatManager object
|
||||||
unique_ptr<CheatManager> myCheatManager;
|
unique_ptr<CheatManager> myCheatManager;
|
||||||
|
#endif
|
||||||
|
|
||||||
// Pointer to the StateManager object
|
// Pointer to the StateManager object
|
||||||
unique_ptr<StateManager> myStateManager;
|
unique_ptr<StateManager> myStateManager;
|
||||||
|
|
|
@ -32,7 +32,9 @@ class OSystem;
|
||||||
#include "ConfigPathDialog.hxx"
|
#include "ConfigPathDialog.hxx"
|
||||||
#include "RomAuditDialog.hxx"
|
#include "RomAuditDialog.hxx"
|
||||||
#include "GameInfoDialog.hxx"
|
#include "GameInfoDialog.hxx"
|
||||||
|
#ifdef CHEATCODE_SUPPORT
|
||||||
#include "CheatCodeDialog.hxx"
|
#include "CheatCodeDialog.hxx"
|
||||||
|
#endif
|
||||||
#include "HelpDialog.hxx"
|
#include "HelpDialog.hxx"
|
||||||
#include "AboutDialog.hxx"
|
#include "AboutDialog.hxx"
|
||||||
#include "LoggerDialog.hxx"
|
#include "LoggerDialog.hxx"
|
||||||
|
@ -58,7 +60,9 @@ class OptionsDialog : public Dialog
|
||||||
unique_ptr<ConfigPathDialog> myConfigPathDialog;
|
unique_ptr<ConfigPathDialog> myConfigPathDialog;
|
||||||
unique_ptr<RomAuditDialog> myRomAuditDialog;
|
unique_ptr<RomAuditDialog> myRomAuditDialog;
|
||||||
unique_ptr<GameInfoDialog> myGameInfoDialog;
|
unique_ptr<GameInfoDialog> myGameInfoDialog;
|
||||||
|
#ifdef CHEATCODE_SUPPORT
|
||||||
unique_ptr<CheatCodeDialog> myCheatCodeDialog;
|
unique_ptr<CheatCodeDialog> myCheatCodeDialog;
|
||||||
|
#endif
|
||||||
unique_ptr<LoggerDialog> myLoggerDialog;
|
unique_ptr<LoggerDialog> myLoggerDialog;
|
||||||
unique_ptr<HelpDialog> myHelpDialog;
|
unique_ptr<HelpDialog> myHelpDialog;
|
||||||
unique_ptr<AboutDialog> myAboutDialog;
|
unique_ptr<AboutDialog> myAboutDialog;
|
||||||
|
|
Loading…
Reference in New Issue