mirror of
https://github.com/libretro/beetle-pce-fast-libretro.git
synced 2024-11-27 01:50:21 +00:00
40 lines
954 B
C++
40 lines
954 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;
|
|
|
|
/* Indent stdout newlines +- "indent" amount */
|
|
void MDFN_indent(int indent);
|
|
void MDFN_printf(const char *format, ...);
|
|
|
|
#define MDFNI_printf MDFN_printf
|
|
|
|
/* Displays an error. Can block or not. */
|
|
void MDFND_PrintError(const char *s);
|
|
void MDFND_Message(const char *s);
|
|
|
|
uint32 MDFND_GetTime(void);
|
|
|
|
/* Sets the base directory(save states, snapshots, etc. are saved in directories
|
|
below this directory. */
|
|
void MDFNI_SetBaseDirectory(const char *dir);
|
|
|
|
void MDFN_DispMessage(const char *format, ...);
|
|
#define MDFNI_DispMessage MDFN_DispMessage
|
|
|
|
uint32 MDFNI_CRC32(uint32 crc, uint8 *buf, uint32 len);
|
|
|
|
// NES hackish function. Should abstract in the future.
|
|
int MDFNI_DatachSet(const uint8 *rcode);
|
|
|
|
void MDFNI_DumpModulesDef(const char *fn);
|
|
|
|
|
|
#endif
|