Sega/Mega CD Fix disabling backup ram cart

This commit is contained in:
ichee 2023-04-02 20:46:24 -04:00 committed by GitHub
parent 3c7a0c44b0
commit 642bb08b56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1357,7 +1357,7 @@ static void check_variables(bool first_run)
environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var);
{
if (var.value && !strcmp(var.value, "disabled"))
cart_size = 0;
cart_size = 0xff;
else if (var.value && !strcmp(var.value, "128k"))
cart_size = 1;
else if (var.value && !strcmp(var.value, "256k"))