| 1 | #ifndef MDFN_SETTINGS_H |
| 2 | #define MDFN_SETTINGS_H |
| 3 | |
| 4 | #include <string> |
| 5 | |
| 6 | extern int setting_initial_scanline; |
| 7 | extern int setting_last_scanline; |
| 8 | extern int setting_pce_fast_nospritelimit; |
| 9 | extern int setting_pce_fast_cddavolume; |
| 10 | extern int setting_pce_fast_adpcmvolume; |
| 11 | extern int setting_pce_fast_cdpsgvolume; |
| 12 | extern uint32_t setting_pce_fast_cdspeed; |
| 13 | extern uint32_t setting_pce_keepaspect; |
| 14 | |
| 15 | // This should assert() or something if the setting isn't found, since it would |
| 16 | // be a totally tubular error! |
| 17 | uint64 MDFN_GetSettingUI(const char *name); |
| 18 | int64 MDFN_GetSettingI(const char *name); |
| 19 | double MDFN_GetSettingF(const char *name); |
| 20 | bool MDFN_GetSettingB(const char *name); |
| 21 | std::string MDFN_GetSettingS(const char *name); |
| 22 | #endif |