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
|
||||
#define OSYSTEM_HXX
|
||||
|
||||
#ifdef CHEATCODE_SUPPORT
|
||||
class CheatManager;
|
||||
#endif
|
||||
class CommandMenu;
|
||||
class Console;
|
||||
class Debugger;
|
||||
|
@ -462,8 +464,10 @@ class OSystem
|
|||
unique_ptr<Debugger> myDebugger;
|
||||
#endif
|
||||
|
||||
#ifdef CHEATCODE_SUPPORT
|
||||
// Pointer to the CheatManager object
|
||||
unique_ptr<CheatManager> myCheatManager;
|
||||
#endif
|
||||
|
||||
// Pointer to the StateManager object
|
||||
unique_ptr<StateManager> myStateManager;
|
||||
|
|
|
@ -32,7 +32,9 @@ class OSystem;
|
|||
#include "ConfigPathDialog.hxx"
|
||||
#include "RomAuditDialog.hxx"
|
||||
#include "GameInfoDialog.hxx"
|
||||
#ifdef CHEATCODE_SUPPORT
|
||||
#include "CheatCodeDialog.hxx"
|
||||
#endif
|
||||
#include "HelpDialog.hxx"
|
||||
#include "AboutDialog.hxx"
|
||||
#include "LoggerDialog.hxx"
|
||||
|
@ -58,7 +60,9 @@ class OptionsDialog : public Dialog
|
|||
unique_ptr<ConfigPathDialog> myConfigPathDialog;
|
||||
unique_ptr<RomAuditDialog> myRomAuditDialog;
|
||||
unique_ptr<GameInfoDialog> myGameInfoDialog;
|
||||
#ifdef CHEATCODE_SUPPORT
|
||||
unique_ptr<CheatCodeDialog> myCheatCodeDialog;
|
||||
#endif
|
||||
unique_ptr<LoggerDialog> myLoggerDialog;
|
||||
unique_ptr<HelpDialog> myHelpDialog;
|
||||
unique_ptr<AboutDialog> myAboutDialog;
|
||||
|
|
Loading…
Reference in New Issue