mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-23 04:30:10 +00:00
SS adjust minimum ramsize
This commit is contained in:
parent
93fb08d8ce
commit
e760d289b2
@ -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;
|
||||
|
@ -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) {
|
||||
|
@ -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)."},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user