Fixed the crashes the IBM PS/1 2133 issued with Windows 95 running with 8MB-16MB of memory.

This commit is contained in:
TC1995
2020-10-11 14:18:32 +02:00
committed by David Hrdlička
parent 71b26b0a09
commit 49ec3903a5

View File

@@ -2857,7 +2857,7 @@ mem_remap_top(int kb)
mem_set_mem_state_both(start * 1024, size * 1024, mem_set_mem_state_both(start * 1024, size * 1024,
MEM_READ_INTERNAL | MEM_WRITE_INTERNAL); MEM_READ_INTERNAL | MEM_WRITE_INTERNAL);
mem_mapping_set_addr(&ram_remapped_mapping, start * 1024, size * 1024); mem_mapping_set_addr(&ram_remapped_mapping, start * 1024, size * 1024);
mem_mapping_set_exec(&ram_remapped_mapping, ram + (start * 1024)); mem_mapping_set_exec(&ram_remapped_mapping, ram + 0xa0000);
flushmmucache(); flushmmucache();
} }