summaryrefslogtreecommitdiffstats
path: root/src/core/core.h
diff options
context:
space:
mode:
authorTheKoopaKingdom <thekoopakingdom@gmail.com>2017-03-08 22:28:30 +0100
committerTheKoopaKingdom <thekoopakingdom@gmail.com>2017-06-03 00:27:56 +0200
commit1ecb322daa0e2521fe0e179e87889db9aaaf63b0 (patch)
tree6f8cc571b41a76c7ab93843472809bfc9121abb7 /src/core/core.h
parentFixed encrypted ROM error messages. (diff)
downloadyuzu-1ecb322daa0e2521fe0e179e87889db9aaaf63b0.tar
yuzu-1ecb322daa0e2521fe0e179e87889db9aaaf63b0.tar.gz
yuzu-1ecb322daa0e2521fe0e179e87889db9aaaf63b0.tar.bz2
yuzu-1ecb322daa0e2521fe0e179e87889db9aaaf63b0.tar.lz
yuzu-1ecb322daa0e2521fe0e179e87889db9aaaf63b0.tar.xz
yuzu-1ecb322daa0e2521fe0e179e87889db9aaaf63b0.tar.zst
yuzu-1ecb322daa0e2521fe0e179e87889db9aaaf63b0.zip
Diffstat (limited to '')
-rw-r--r--src/core/core.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h
index 6af772831..0963f273e 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -40,7 +40,11 @@ public:
ErrorLoader_ErrorEncrypted, ///< Error loading the specified application due to encryption
ErrorLoader_ErrorInvalidFormat, ///< Error loading the specified application due to an
/// invalid format
+ ErrorSystemFiles, ///< Error in finding system files
+ ErrorSharedFont, ///< Error in finding shared font
ErrorVideoCore, ///< Error in the video core
+ ErrorOpenGL, ///< Error when initializing OpenGL
+ ErrorUnknown ///< Any other error
};
/**
@@ -105,6 +109,14 @@ public:
PerfStats perf_stats;
FrameLimiter frame_limiter;
+ ResultStatus GetStatus() {
+ return status;
+ }
+
+ void SetStatus(ResultStatus newStatus) {
+ status = newStatus;
+ }
+
private:
/**
* Initialize the emulated system.
@@ -130,6 +142,7 @@ private:
std::unique_ptr<Core::TelemetrySession> telemetry_session;
static System s_instance;
+ ResultStatus status;
};
inline ARM_Interface& CPU() {