aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/tizen/system.cpp
diff options
context:
space:
mode:
authorCameron Cawley2019-11-05 22:19:47 +0000
committerFilippos Karapetis2019-12-01 01:04:06 +0200
commit48615cb83e1889166503b9d3bef7c50203cc441a (patch)
tree9c0a4d9e0e7252015c31ae6b815089a12ab730de /backends/platform/tizen/system.cpp
parentaee09409e8b30dbd8ea10c9190b85037fe8458c9 (diff)
downloadscummvm-rg350-48615cb83e1889166503b9d3bef7c50203cc441a.tar.gz
scummvm-rg350-48615cb83e1889166503b9d3bef7c50203cc441a.tar.bz2
scummvm-rg350-48615cb83e1889166503b9d3bef7c50203cc441a.zip
BACKENDS: Move implementation of OSystem::quit() out of ModularBackend
Diffstat (limited to 'backends/platform/tizen/system.cpp')
-rw-r--r--backends/platform/tizen/system.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/platform/tizen/system.cpp b/backends/platform/tizen/system.cpp
index 23b07187bb..7fe45f574e 100644
--- a/backends/platform/tizen/system.cpp
+++ b/backends/platform/tizen/system.cpp
@@ -20,6 +20,8 @@
*
*/
+#define FORBIDDEN_SYMBOL_EXCEPTION_exit
+
#include <FUiCtrlMessageBox.h>
#include <FLocales.h>
@@ -454,6 +456,10 @@ void TizenSystem::exitSystem() {
}
}
+void TizenSystem::quit() {
+ exit(0);
+}
+
void TizenSystem::logMessage(LogMessageType::Type type, const char *message) {
if (type == LogMessageType::kError) {
systemError(message);