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