From 243e941d81b99f47760a58a58113ce48a42926d8 Mon Sep 17 00:00:00 2001 From: TwinAphex51224 Date: Sat, 3 Dec 2011 01:54:57 +0100 Subject: [PATCH] (PS3) Would not cleanly exit on PS3 without this - perhaps something Cg-related needs deiniting prior to exit(0) --- ssnes.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ssnes.c b/ssnes.c index e54f6b3416..5b6c6534cb 100644 --- a/ssnes.c +++ b/ssnes.c @@ -2098,6 +2098,9 @@ int main(int argc, char *argv[]) psnes_term(); uninit_drivers(); uninit_libsnes_sym(); +#ifdef __CELLOS_LV2__ + sys_process_exit(0); +#endif return 0;