AmigaOS 4 port from xeron.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@253 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
8
gfxcfg.c
8
gfxcfg.c
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user