diff options
Diffstat (limited to 'backends/platform/null/null.cpp')
-rw-r--r-- | backends/platform/null/null.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/null/null.cpp b/backends/platform/null/null.cpp index be50fde27c..2f34ae8f93 100644 --- a/backends/platform/null/null.cpp +++ b/backends/platform/null/null.cpp @@ -137,7 +137,7 @@ int main(int argc, char *argv[]) { // Invoke the actual ScummVM main entry point: int res = scummvm_main(argc, argv); - delete (OSystem_NULL *)g_system; + g_system->destroy(); return res; } |