diff options
Diffstat (limited to 'src/core/system.h')
| -rw-r--r-- | src/core/system.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/system.h b/src/core/system.h index 59a75ca12..a4a627ea9 100644 --- a/src/core/system.h +++ b/src/core/system.h | |||
| @@ -8,7 +8,14 @@ class EmuWindow; | |||
| 8 | 8 | ||
| 9 | namespace System { | 9 | namespace System { |
| 10 | 10 | ||
| 11 | void Init(EmuWindow* emu_window); | 11 | enum class Result { |
| 12 | Success, ///< Everything is fine | ||
| 13 | Error, ///< Something went wrong (no module specified) | ||
| 14 | ErrorInitCore, ///< Something went wrong during core init | ||
| 15 | ErrorInitVideoCore, ///< Something went wrong during video core init | ||
| 16 | }; | ||
| 17 | |||
| 18 | Result Init(EmuWindow* emu_window); | ||
| 12 | void Shutdown(); | 19 | void Shutdown(); |
| 13 | 20 | ||
| 14 | } | 21 | } |