aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/system.h
diff options
context:
space:
mode:
authorGravatar Lioncash <mathew1800@gmail.com>2014-11-18 08:57:25 -0500
committerGravatar Lioncash <mathew1800@gmail.com>2014-11-18 09:00:32 -0500
commitb37f91c617964cfe37aff0c015f6bc46eb47e7dd (patch)
treea6def463ed91ca0ef106223855b23dbbd5824aab /src/core/system.h
parent745b0219c5dae25d65f18ef13fd5dfd9ca23b671 (diff)
system: Get rid of an unnecessary enum typedef
Diffstat (limited to 'src/core/system.h')
-rw-r--r--src/core/system.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/core/system.h b/src/core/system.h
index 8f8ddf87..c90f7e1a 100644
--- a/src/core/system.h
+++ b/src/core/system.h
@@ -11,16 +11,16 @@
namespace System {
// State of the full emulator
-typedef enum {
- STATE_NULL = 0, ///< System is in null state, nothing initialized
- STATE_IDLE, ///< System is in an initialized state, but not running
- STATE_RUNNING, ///< System is running
- STATE_LOADING, ///< System is loading a ROM
- STATE_HALTED, ///< System is halted (error)
- STATE_STALLED, ///< System is stalled (unused)
- STATE_DEBUG, ///< System is in a special debug mode (unused)
- STATE_DIE ///< System is shutting down
-} State;
+enum State {
+ STATE_NULL = 0, ///< System is in null state, nothing initialized
+ STATE_IDLE, ///< System is in an initialized state, but not running
+ STATE_RUNNING, ///< System is running
+ STATE_LOADING, ///< System is loading a ROM
+ STATE_HALTED, ///< System is halted (error)
+ STATE_STALLED, ///< System is stalled (unused)
+ STATE_DEBUG, ///< System is in a special debug mode (unused)
+ STATE_DIE ///< System is shutting down
+};
extern volatile State g_state;