diff options
Diffstat (limited to 'backends/psp/psp_main.cpp')
| -rw-r--r-- | backends/psp/psp_main.cpp | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/backends/psp/psp_main.cpp b/backends/psp/psp_main.cpp index cbdaad68e0..f06ac5f1d5 100644 --- a/backends/psp/psp_main.cpp +++ b/backends/psp/psp_main.cpp @@ -147,10 +147,12 @@ int main(void)  	g_system = OSystem_PSP_create();  	assert(g_system); -	scummvm_main(argc, argv); +	int res = scummvm_main(argc, argv); + +	g_system->quit();	// TODO: Consider removing / replacing this!  	sceKernelSleepThread(); -	return 0; +	return res;  } | 
