summaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorGravatar LittleWhite2016-01-07 20:33:54 +0100
committerGravatar LittleWhite2016-03-08 22:05:25 +0100
commit4be68dddfbdc7065139351e6e39b5fa97844264a (patch)
tree4b020326a58a7a4364b752cb731233cb6c264cd0 /src/core/core.cpp
parentDisplay errors in GUI when loading ROM failed (diff)
downloadyuzu-4be68dddfbdc7065139351e6e39b5fa97844264a.tar.gz
yuzu-4be68dddfbdc7065139351e6e39b5fa97844264a.tar.xz
yuzu-4be68dddfbdc7065139351e6e39b5fa97844264a.zip
Improve error report from Init() functions
Add error popup when citra initialization failed
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 453c7162d..84d6c392e 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -73,12 +73,11 @@ void Stop() {
73} 73}
74 74
75/// Initialize the core 75/// Initialize the core
76int Init() { 76void Init() {
77 g_sys_core = Common::make_unique<ARM_DynCom>(USER32MODE); 77 g_sys_core = Common::make_unique<ARM_DynCom>(USER32MODE);
78 g_app_core = Common::make_unique<ARM_DynCom>(USER32MODE); 78 g_app_core = Common::make_unique<ARM_DynCom>(USER32MODE);
79 79
80 LOG_DEBUG(Core, "Initialized OK"); 80 LOG_DEBUG(Core, "Initialized OK");
81 return 0;
82} 81}
83 82
84void Shutdown() { 83void Shutdown() {