SS adjust minimum ramsize

This commit is contained in:
kanjitalk755 2018-07-09 19:24:52 +09:00
parent 93fb08d8ce
commit e760d289b2
3 changed files with 5 additions and 5 deletions

View File

@ -944,9 +944,9 @@ int main(int argc, char **argv)
if (RAMSize <= 1000) {
RAMSize *= 1024 * 1024;
}
if (RAMSize < 8*1024*1024) {
if (RAMSize < 16 * 1024 * 1024) {
WarningAlert(GetString(STR_SMALL_RAM_WARN));
RAMSize = 8*1024*1024;
RAMSize = 16 * 1024 * 1024;
}
memory_mapped_from_zero = false;
ram_rom_areas_contiguous = false;

View File

@ -306,9 +306,9 @@ int main(int argc, char **argv)
if (RAMSize <= 1000) {
RAMSize *= 1024 * 1024;
}
if (RAMSize < 8*1024*1024) {
if (RAMSize < 16 * 1024 * 1024) {
WarningAlert(GetString(STR_SMALL_RAM_WARN));
RAMSize = 8*1024*1024;
RAMSize = 16 * 1024 * 1024;
}
RAMBase = 0;
if (vm_mac_acquire(RAMBase, RAMSize) < 0) {

View File

@ -76,7 +76,7 @@ user_string_def common_strings[] = {
{STR_SCSI_BUFFER_ERR, "Cannot allocate SCSI buffer (requested %d bytes). Giving up."},
{STR_SCSI_SG_FULL_ERR, "SCSI scatter/gather table full. Giving up."},
{STR_SMALL_RAM_WARN, "Selected less than 8MB Mac RAM, using 8MB."},
{STR_SMALL_RAM_WARN, "Selected less than 16MB Mac RAM, using 16MB."},
{STR_CANNOT_UNMOUNT_WARN, "The volume '%s' could not be unmounted. SheepShaver will not use it."},
{STR_CREATE_VOLUME_WARN, "Cannot create hardfile (%s)."},