mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
core+platforms, add SMS option to select TMS palette for gfx modes 0-3
This commit is contained in:
parent
dca20effa2
commit
214a6c624c
7 changed files with 36 additions and 2 deletions
|
@ -1814,6 +1814,15 @@ static void update_variables(bool first_run)
|
|||
PicoIn.opt &= ~POPT_EN_YM2413;
|
||||
}
|
||||
|
||||
var.value = NULL;
|
||||
var.key = "picodrive_smstms";
|
||||
if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value) {
|
||||
if (strcmp(var.value, "SG-1000") == 0)
|
||||
PicoIn.tmsPalette = 1;
|
||||
else
|
||||
PicoIn.tmsPalette = 0;
|
||||
}
|
||||
|
||||
var.value = NULL;
|
||||
var.key = "picodrive_smsmapper";
|
||||
if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue