correction.
[AROS-Ports.git] / game / circuslinux / circuslinux-1.0.3-aros.diff
blob0eedd3e88cb503ab923f8726a784ab2f83b25b39
1 diff -Naur circuslinux-1.0.3-orig/circuslinux.c circuslinux-1.0.3/circuslinux.c
2 --- circuslinux-1.0.3-orig/circuslinux.c 2016-12-28 12:18:23.112292544 +0100
3 +++ circuslinux-1.0.3/circuslinux.c 2016-12-28 12:15:31.770446133 +0100
4 @@ -2727,6 +2727,7 @@
5 exit(1);
8 + atexit(SDL_Quit);
10 /* Init Joystick: */
12 @@ -2958,7 +2959,7 @@
13 "%s\n"
14 "The Simple DirectMedia error that occured was:\n"
15 "%s\n\n", MUS_TITLE, SDL_GetError());
16 - exit(1);
17 + //exit(1);
20 /* (game) */
21 @@ -2971,7 +2972,7 @@
22 "%s\n"
23 "The Simple DirectMedia error that occured was:\n"
24 "%s\n\n", MUS_GAME, SDL_GetError());
25 - exit(1);
26 + //exit(1);
29 /* (gameover) */
30 @@ -2984,7 +2985,7 @@
31 "%s\n"
32 "The Simple DirectMedia error that occured was:\n"
33 "%s\n\n", MUS_GAMEOVER, SDL_GetError());
34 - exit(1);
35 + //exit(1);
38 /* (hiscore) */
39 @@ -2997,7 +2998,7 @@
40 "%s\n"
41 "The Simple DirectMedia error that occured was:\n"
42 "%s\n\n", MUS_HISCORE, SDL_GetError());
43 - exit(1);
44 + //exit(1);
47 /* (hiscore screen) */
48 @@ -3010,7 +3011,7 @@
49 "%s\n"
50 "The Simple DirectMedia error that occured was:\n"
51 "%s\n\n", MUS_HISCORESCREEN, SDL_GetError());
52 - exit(1);
53 + //exit(1);
56 #endif
57 @@ -3434,8 +3435,9 @@
58 char * home;
59 #endif
62 -#ifdef LINUX
63 +#ifdef __AROS__
64 + filename = "PROGDIR:.circuslinux";
65 +#elif LINUX
66 /* Get home directory (from $HOME variable)... if we can't determine it,
67 use the current directory ("."): */