mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 01:25:33 -07:00
mem.c: Double the pages array size for 386SX, fixes the segmentation fault when trying to use the Amstrad MegaPC with more than 16 MB and the 486+ interpreter.
This commit is contained in:
@@ -2833,8 +2833,8 @@ mem_reset(void)
|
||||
*/
|
||||
if (is286) {
|
||||
if (cpu_16bitbus) {
|
||||
/* 80286/386SX; maximum address space is 16MB. */
|
||||
m = 4096;
|
||||
/* 80286/386SX; maximum address space is 16MB + 16 MB for EMS. */
|
||||
m = 8192;
|
||||
/* ALi M6117; maximum address space is 64MB. */
|
||||
if (is6117)
|
||||
m <<= 2;
|
||||
|
||||
Reference in New Issue
Block a user