mirror of
https://github.com/libretro/beetle-pce-fast-libretro.git
synced 2024-11-23 16:00:08 +00:00
f901bc2bba
input will not work
25 lines
832 B
C++
25 lines
832 B
C++
#ifndef MDFN_SETTINGS_H
|
|
#define MDFN_SETTINGS_H
|
|
|
|
#include <string>
|
|
|
|
extern uint32_t setting_pce_fast_nospritelimit;
|
|
extern uint32_t setting_psx_multitap_port_1;
|
|
extern uint32_t setting_psx_multitap_port_2;
|
|
|
|
bool MDFN_LoadSettings(const char *path, const char *section = NULL, bool override = false);
|
|
bool MDFN_MergeSettings(const void*);
|
|
bool MDFN_MergeSettings(const std::vector<void> &);
|
|
bool MDFN_SaveSettings(const char *path);
|
|
|
|
void MDFN_KillSettings(void); // Free any resources acquired.
|
|
|
|
// This should assert() or something if the setting isn't found, since it would
|
|
// be a totally tubular error!
|
|
uint64 MDFN_GetSettingUI(const char *name);
|
|
int64 MDFN_GetSettingI(const char *name);
|
|
double MDFN_GetSettingF(const char *name);
|
|
bool MDFN_GetSettingB(const char *name);
|
|
std::string MDFN_GetSettingS(const char *name);
|
|
#endif
|