1 diff -Naur vectoroids-1.1.0-orig/vectoroids.c vectoroids-1.1.0/vectoroids.c
2 --- vectoroids-1.1.0-orig/vectoroids.c 2016-12-28 09:14:41.266746328 +0100
3 +++ vectoroids-1.1.0/vectoroids.c 2016-12-28 09:09:10.194916878 +0100
12 #define LEFT_EDGE 0x0001
13 #define RIGHT_EDGE 0x0002
16 /* Load state from disk: */
19 +#if defined(__AROS__)
20 + strcpy(statefile, "PROGDIR:.vectoroids-state");
21 +#elif !defined(_WIN32)
22 /* snprintf(statefile, sizeof(statefile), "%s/.vectoroids-state",
24 sprintf(statefile, "%s/.vectoroids-state",
29 - if (SDL_Init(SDL_INIT_VIDEO) < 0)
30 + if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO) < 0)
33 "\nError: I could not initialize video!\n"
44 "The Simple DirectMedia error that occured was:\n"
45 "%s\n\n", mus_game_name, SDL_GetError());