mirror of
https://github.com/libretro/beetle-psx-libretro.git
synced 2024-11-30 04:10:43 +00:00
34 lines
805 B
C
34 lines
805 B
C
#ifndef MDFN_SETTINGS_H
|
|
#define MDFN_SETTINGS_H
|
|
|
|
#include <stdint.h>
|
|
#include <string.h>
|
|
|
|
#include <boolean.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern uint32_t setting_psx_multitap_port_1;
|
|
extern uint32_t setting_psx_multitap_port_2;
|
|
extern uint32_t setting_psx_analog_toggle;
|
|
extern uint32_t setting_psx_fastboot;
|
|
extern int setting_initial_scanline;
|
|
extern int setting_initial_scanline_pal;
|
|
extern int setting_last_scanline;
|
|
extern int setting_last_scanline_pal;
|
|
|
|
/* This should assert() or something if the setting isn't found,
|
|
* since it would be a totally tubular error! */
|
|
uint64_t MDFN_GetSettingUI(const char *name);
|
|
int64_t MDFN_GetSettingI(const char *name);
|
|
bool MDFN_GetSettingB(const char *name);
|
|
const char *MDFN_GetSettingS(const char *name);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|