diff options
author | bunnei <bunneidev@gmail.com> | 2016-03-08 23:12:04 -0500 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2016-03-08 23:12:04 -0500 |
commit | 8530a2d7df7f9546e3d4e9be2cec633307a28c23 (patch) | |
tree | 9bcf963cc1a7c8c5700afe926fd43c08b2aaff96 /src/core/system.h | |
parent | 58c336b67109e89b3d47e2873e8271e7291a59d0 (diff) | |
parent | 4be68dddfbdc7065139351e6e39b5fa97844264a (diff) |
Merge pull request #1344 from LittleWhite-tb/error-output
Output errors in GUI
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; namespace System { -void Init(EmuWindow* emu_window); +enum class Result { + Success, ///< Everything is fine + Error, ///< Something went wrong (no module specified) + ErrorInitCore, ///< Something went wrong during core init + ErrorInitVideoCore, ///< Something went wrong during video core init +}; + +Result Init(EmuWindow* emu_window); void Shutdown(); } |