mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-23 00:34:22 +00:00
_start(): Use exit() instead of ExitToShell()
This commit is contained in:
parent
e6df3abfe0
commit
3911cb2fde
@ -18,6 +18,7 @@
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <Processes.h>
|
||||
#include <Sound.h>
|
||||
@ -113,9 +114,10 @@ void _start()
|
||||
}
|
||||
}
|
||||
|
||||
int result;
|
||||
{
|
||||
char *argv[2] = { "./a.out", NULL };
|
||||
main(1, argv);
|
||||
result = main(1, argv);
|
||||
}
|
||||
ExitToShell();
|
||||
exit(result);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user