beetle-psx-libretro/mednafen/mednafen.h
2018-02-21 23:53:30 +01:00

41 lines
687 B
C

#ifndef _MEDNAFEN_H
#define _MEDNAFEN_H
#include "mednafen-types.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define _(String) (String)
#include "math_ops.h"
#include "git.h"
#ifdef _WIN32
#define strcasecmp _stricmp
#endif
/* This breaks on OSX for some reason */
#if 0
#if __cplusplus <= 199711L
# define HAS_CXX11
#endif
#endif
#define GET_FDATA_PTR(fp) (fp->data)
#define GET_FSIZE_PTR(fp) (fp->size)
#define GET_FEXTS_PTR(fp) (fp->ext)
extern MDFNGI *MDFNGameInfo;
#include "settings.h"
void MDFN_DispMessage(const char *format, ...);
void MDFN_LoadGameCheats(void *override);
void MDFN_FlushGameCheats(int nosave);
#include "mednafen-driver.h"
#endif