aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/gph/gph-main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/gph/gph-main.cpp')
-rw-r--r--backends/platform/gph/gph-main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/gph/gph-main.cpp b/backends/platform/gph/gph-main.cpp
index 5fce37179e..3b829de0db 100644
--- a/backends/platform/gph/gph-main.cpp
+++ b/backends/platform/gph/gph-main.cpp
@@ -43,7 +43,7 @@ int main(int argc, char *argv[]) {
int res = scummvm_main(argc, argv);
// Free OSystem
- delete(OSystem_GPH *)g_system;
+ g_system->destroy();
return res;
}