aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/system.h
diff options
context:
space:
mode:
authorGravatar Tony Wasserka <neobrainx@gmail.com>2014-11-18 16:54:37 +0100
committerGravatar Tony Wasserka <neobrainx@gmail.com>2014-11-18 16:54:37 +0100
commited4e59900893df07ec7eb91cbb9b9214c174158a (patch)
treed1d5d7ec71caa43eca2c7dedf22f28632a088abb /src/core/system.h
parent9010b54a90c26f47d5002f03bb81d2d564de6c6b (diff)
parentb37f91c617964cfe37aff0c015f6bc46eb47e7dd (diff)
Merge pull request #210 from lioncash/typedef
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 b5f0c5a5..0be8711e 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;