Switch: fix build, add build instructions, avoid using delete()
This commit is contained in:
parent
488bbb267a
commit
875bc0b1c2
6 changed files with 54 additions and 24 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue