diff options
Diffstat (limited to 'backends/platform/sdl/psp2/psp2-main.cpp')
-rw-r--r-- | backends/platform/sdl/psp2/psp2-main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/sdl/psp2/psp2-main.cpp b/backends/platform/sdl/psp2/psp2-main.cpp index 70cc52388e..aca14832ae 100644 --- a/backends/platform/sdl/psp2/psp2-main.cpp +++ b/backends/platform/sdl/psp2/psp2-main.cpp @@ -56,7 +56,7 @@ int main(int argc, char *argv[]) { int res = scummvm_main(argc, argv); // Free OSystem - delete (OSystem_PSP2 *)g_system; + g_system->destroy(); #ifdef __PSP2_DEBUG__ psp2shell_exit(); |