diff options
| author | 2014-11-18 08:57:25 -0500 | |
|---|---|---|
| committer | 2014-11-18 09:00:32 -0500 | |
| commit | b37f91c617964cfe37aff0c015f6bc46eb47e7dd (patch) | |
| tree | a6def463ed91ca0ef106223855b23dbbd5824aab /src/core/system.h | |
| parent | Merge pull request #200 from lioncash/statics (diff) | |
| download | yuzu-b37f91c617964cfe37aff0c015f6bc46eb47e7dd.tar.gz yuzu-b37f91c617964cfe37aff0c015f6bc46eb47e7dd.tar.xz yuzu-b37f91c617964cfe37aff0c015f6bc46eb47e7dd.zip | |
system: Get rid of an unnecessary enum typedef
Diffstat (limited to 'src/core/system.h')
| -rw-r--r-- | src/core/system.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/core/system.h b/src/core/system.h index 8f8ddf87b..c90f7e1a9 100644 --- a/src/core/system.h +++ b/src/core/system.h | |||
| @@ -11,16 +11,16 @@ | |||
| 11 | namespace System { | 11 | namespace System { |
| 12 | 12 | ||
| 13 | // State of the full emulator | 13 | // State of the full emulator |
| 14 | typedef enum { | 14 | enum State { |
| 15 | STATE_NULL = 0, ///< System is in null state, nothing initialized | 15 | STATE_NULL = 0, ///< System is in null state, nothing initialized |
| 16 | STATE_IDLE, ///< System is in an initialized state, but not running | 16 | STATE_IDLE, ///< System is in an initialized state, but not running |
| 17 | STATE_RUNNING, ///< System is running | 17 | STATE_RUNNING, ///< System is running |
| 18 | STATE_LOADING, ///< System is loading a ROM | 18 | STATE_LOADING, ///< System is loading a ROM |
| 19 | STATE_HALTED, ///< System is halted (error) | 19 | STATE_HALTED, ///< System is halted (error) |
| 20 | STATE_STALLED, ///< System is stalled (unused) | 20 | STATE_STALLED, ///< System is stalled (unused) |
| 21 | STATE_DEBUG, ///< System is in a special debug mode (unused) | 21 | STATE_DEBUG, ///< System is in a special debug mode (unused) |
| 22 | STATE_DIE ///< System is shutting down | 22 | STATE_DIE ///< System is shutting down |
| 23 | } State; | 23 | }; |
| 24 | 24 | ||
| 25 | extern volatile State g_state; | 25 | extern volatile State g_state; |
| 26 | 26 | ||