SDL: Added CD-ROM and Joystick stubs for easer porting

git-svn-id: svn://kolibrios.org@9956 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
turbocat
2024-01-13 18:29:07 +00:00
parent 75cc884573
commit 9ab6a07ce2
4 changed files with 120 additions and 32 deletions

View File

@@ -43,11 +43,13 @@ extern DECLSPEC void SDL_ClearError(void);
/* Private error message function - used internally */
#define SDL_OutOfMemory() SDL_Error(SDL_ENOMEM)
#define SDL_Unsupported() SDL_Error(SDL_UNSUPPORTED)
typedef enum {
SDL_ENOMEM,
SDL_EFREAD,
SDL_EFWRITE,
SDL_EFSEEK,
SDL_UNSUPPORTED,
SDL_LASTERROR
} SDL_errorcode;
extern void SDL_Error(SDL_errorcode code);