From e760d289b2cd5cc0b735fa3dfed328d9d01eac8c Mon Sep 17 00:00:00 2001 From: kanjitalk755 Date: Mon, 9 Jul 2018 19:24:52 +0900 Subject: [PATCH] SS adjust minimum ramsize --- SheepShaver/src/Unix/main_unix.cpp | 4 ++-- SheepShaver/src/Windows/main_windows.cpp | 4 ++-- SheepShaver/src/user_strings.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/SheepShaver/src/Unix/main_unix.cpp b/SheepShaver/src/Unix/main_unix.cpp index 8eb6420a..d5580a51 100755 --- a/SheepShaver/src/Unix/main_unix.cpp +++ b/SheepShaver/src/Unix/main_unix.cpp @@ -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; diff --git a/SheepShaver/src/Windows/main_windows.cpp b/SheepShaver/src/Windows/main_windows.cpp index 6f20097a..22cafb45 100755 --- a/SheepShaver/src/Windows/main_windows.cpp +++ b/SheepShaver/src/Windows/main_windows.cpp @@ -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) { diff --git a/SheepShaver/src/user_strings.cpp b/SheepShaver/src/user_strings.cpp index ee9e1d1c..6a52511a 100644 --- a/SheepShaver/src/user_strings.cpp +++ b/SheepShaver/src/user_strings.cpp @@ -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)."},