sms, add sg-1000 support

This commit is contained in:
kub 2022-02-28 21:45:50 +00:00
parent 216c9f17fa
commit df6c895c5c
9 changed files with 72 additions and 41 deletions

View file

@ -1494,6 +1494,8 @@ static void update_variables(bool first_run)
PicoIn.hwSelect = PHWS_AUTO;
else if (strcmp(var.value, "Game Gear") == 0)
PicoIn.hwSelect = PHWS_GG;
else if (strcmp(var.value, "SG-1000") == 0)
PicoIn.hwSelect = PHWS_SG;
else
PicoIn.hwSelect = PHWS_SMS;
}
@ -1527,7 +1529,7 @@ static void update_variables(bool first_run)
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;
PicoIn.mapper = PMS_MAP_8KBRAM;
else
PicoIn.mapper = PMS_MAP_SEGA;
}