diff options
Diffstat (limited to 'backends/platform/sdl/switch/switch-main.cpp')
-rw-r--r-- | backends/platform/sdl/switch/switch-main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/sdl/switch/switch-main.cpp b/backends/platform/sdl/switch/switch-main.cpp index 411d5608be..a44b2fb76e 100644 --- a/backends/platform/sdl/switch/switch-main.cpp +++ b/backends/platform/sdl/switch/switch-main.cpp @@ -52,7 +52,7 @@ int main(int argc, char *argv[]) { int res = scummvm_main(argc, argv); // Free OSystem - delete (OSystem_Switch *)g_system; + g_system->destroy(); #ifdef __SWITCH_DEBUG__ socketExit(); |