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 (is286) {
|
||||||
if (cpu_16bitbus) {
|
if (cpu_16bitbus) {
|
||||||
/* 80286/386SX; maximum address space is 16MB. */
|
/* 80286/386SX; maximum address space is 16MB + 16 MB for EMS. */
|
||||||
m = 4096;
|
m = 8192;
|
||||||
/* ALi M6117; maximum address space is 64MB. */
|
/* ALi M6117; maximum address space is 64MB. */
|
||||||
if (is6117)
|
if (is6117)
|
||||||
m <<= 2;
|
m <<= 2;
|
||||||
|
Reference in New Issue
Block a user