sms, mapper for taiwanese sg-1000 ram extension

This commit is contained in:
kub 2022-02-26 21:48:18 +00:00
parent aaef4b945e
commit 171fb8cc14
5 changed files with 11 additions and 2 deletions

View file

@ -537,7 +537,7 @@ static int menu_loop_32x_options(int id, int keys)
#ifndef NO_SMS
static const char *sms_hardwares[] = { "auto", "Game Gear", "Master System", NULL };
static const char *sms_mappers[] = { "auto", "Sega", "Codemasters", "Korea", "Korea MSX", "Korea X-in-1", "Korea 4-Pak", "Korea Janggun", "Korea Nemesis", NULL };
static const char *sms_mappers[] = { "auto", "Sega", "Codemasters", "Korea", "Korea MSX", "Korea X-in-1", "Korea 4-Pak", "Korea Janggun", "Korea Nemesis", "Taiwan 8K RAM", NULL };
static const char h_smsfm[] = "FM sound is only supported by few games\nOther games may crash with FM enabled";
static menu_entry e_menu_sms_options[] =

View file

@ -1526,6 +1526,8 @@ static void update_variables(bool first_run)
PicoIn.mapper = PMS_MAP_JANGGUN;
else if (strcmp(var.value, "Korea Nemesis") == 0)
PicoIn.mapper = PMS_MAP_NEMESIS;
else if (strcmp(var.value, "Taiwan 8K RAM") == 0)
PicoIn.mapper = PMS_MAP_8KRAM;
else
PicoIn.mapper = PMS_MAP_SEGA;
}

View file

@ -138,6 +138,7 @@ struct retro_core_option_v2_definition option_defs_us[] = {
{ "Korea 4-Pak", NULL },
{ "Korea Janggun", NULL },
{ "Korea Nemesis", NULL },
{ "Taiwan 8K RAM", NULL },
{ NULL, NULL },
},
"Auto"