minimig: update FastRAM options.
This commit is contained in:
9
menu.cpp
9
menu.cpp
@@ -177,7 +177,7 @@ const char *config_tos_usb[] = { "none", "control", "debug", "serial", "parallel
|
||||
|
||||
const char *config_memory_chip_msg[] = { "512K", "1M", "1.5M", "2M" };
|
||||
const char *config_memory_slow_msg[] = { "none", "512K", "1M", "1.5M" };
|
||||
const char *config_memory_fast_msg[] = { "none", "2M", "4M", "24M", "56M", "280M", "312M" };
|
||||
const char *config_memory_fast_msg[] = { "none", "2M", "4M", "8M", "256M", "384M", "256M" };
|
||||
|
||||
const char *config_scanlines_msg[] = { "off", "dim", "black" };
|
||||
const char *config_ar_msg[] = { "4:3", "16:9" };
|
||||
@@ -3498,10 +3498,7 @@ void HandleUI(void)
|
||||
strcat(s, (minimig_config.memory & 0x40) ? "enabled " : "disabled");
|
||||
OsdWrite(6, s, menusub == 4, 0);
|
||||
|
||||
OsdWrite(7, "", 0, 0);
|
||||
OsdWrite(8, ((minimig_config.memory & 0x80) && !(minimig_config.memory & 0x10) && !(sdram_sz() & 2)) ? " ** 64MB SDRAM REQUIRED **" : "", 0, 0);
|
||||
|
||||
for (int i = 9; i < OsdGetSize() - 1; i++) OsdWrite(i, "", 0, 0);
|
||||
for (int i = 7; i < OsdGetSize() - 1; i++) OsdWrite(i, "", 0, 0);
|
||||
OsdWrite(OsdGetSize() - 1, STD_EXIT, menusub == 5, 0);
|
||||
|
||||
menustate = MENU_SETTINGS_MEMORY2;
|
||||
@@ -3518,7 +3515,7 @@ void HandleUI(void)
|
||||
else if (menusub == 1)
|
||||
{
|
||||
uint8_t c = (((minimig_config.memory >> 4) & 0x03) | ((minimig_config.memory & 0x80) >> 5))+1;
|
||||
if (c > 6) c = 0;
|
||||
if (c > 5) c = 0;
|
||||
minimig_config.memory = ((c<<4) & 0x30) | ((c<<5) & 0x80) | (minimig_config.memory & ~0xB0);
|
||||
menustate = MENU_SETTINGS_MEMORY1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user