games express cd bios

This commit is contained in:
funbars 2019-05-10 08:22:16 -05:00 committed by GitHub
parent d511c6b081
commit 7640f38b5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -38,6 +38,7 @@ int setting_pce_multitap = 1;
int setting_pce_scaling = 0;
uint32_t setting_pce_cdspeed = 1;
std::string setting_pce_cdbios = "syscard3.pce";
std::string setting_pce_gecdbios = "gexpress.pce";
uint64 MDFN_GetSettingUI(const char *name)
{
@ -135,6 +136,8 @@ std::string MDFN_GetSettingS(const char *name)
{
if (!strcmp("pce.cdbios", name))
return setting_pce_cdbios;
if (!strcmp("pce.gecdbios", name))
return setting_pce_gecdbios;
/* FILESYS */
if (!strcmp("filesys.path_firmware", name))
return retro_base_directory;

View File

@ -20,6 +20,7 @@ extern int setting_pce_multitap;
extern int setting_pce_scaling;
extern uint32_t setting_pce_cdspeed;
extern std::string setting_pce_cdbios;
extern std::string setting_pce_gecdbios;
// This should assert() or something if the setting isn't found, since it would
// be a totally tubular error!