beetle-psx-libretro/mednafen/mednafen-driver.h
2016-07-20 06:06:40 +02:00

28 lines
682 B
C++

#ifndef __MDFN_MEDNAFEN_DRIVER_H
#define __MDFN_MEDNAFEN_DRIVER_H
#include <stdio.h>
#include <vector>
#include <string>
#include "settings-common.h"
extern std::vector<MDFNGI *>MDFNSystems;
// Call this function as early as possible, even before MDFNI_Initialize()
bool MDFNI_InitializeModule(void);
/* Sets the base directory(save states, snapshots, etc. are saved in directories
below this directory. */
void MDFNI_SetBaseDirectory(const char *dir);
/* Closes currently loaded game */
void MDFNI_CloseGame(void);
void MDFN_DispMessage(const char *format, ...);
#define MDFNI_DispMessage MDFN_DispMessage
uint32 MDFNI_CRC32(uint32 crc, uint8 *buf, uint32 len);
#endif