AmigaOS 4 port from xeron.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@253 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues
2008-10-14 19:45:39 +00:00
parent 70a750e187
commit ff9fc1633b
8 changed files with 2867 additions and 2812 deletions

View File

@@ -29,7 +29,7 @@
//SDL
#include <SDL.h>
#include <SDL_image.h>
#include <SDL/SDL_image.h>
#include <SDL_events.h>
//#include <SDL_gfxPrimitives.h>
@@ -587,7 +587,13 @@ void Setup()
/* Checks if we can write the config file */
bool Verifier_ecriture_possible()
{
#ifdef __amigaos4__
// TODO: Make it work :)
return 1;
#else
// Doesn't work on OS4.
return access("./",W_OK) == 0;
#endif
}
/* Save the config file */