Moved BIOS mapping initialisation - SiS 496/497 now boots again without requiring hard reset.
This commit is contained in:
parent
c0b136248a
commit
39c95ee0af
2 changed files with 1 additions and 2 deletions
|
|
@ -1881,8 +1881,6 @@ void mem_resize()
|
|||
mem_mapping_add(&ram_high_mapping, 0x100000, (mem_size - 1024) * 1024, mem_read_ram, mem_read_ramw, mem_read_raml, mem_write_ram, mem_write_ramw, mem_write_raml, ram + 0x100000, MEM_MAPPING_INTERNAL, NULL);
|
||||
mem_mapping_add(&ram_mid_mapping, 0xc0000, 0x40000, mem_read_ram, mem_read_ramw, mem_read_raml, mem_write_ram, mem_write_ramw, mem_write_raml, ram + 0xc0000, MEM_MAPPING_INTERNAL, NULL);
|
||||
|
||||
mem_add_bios();
|
||||
|
||||
mem_mapping_add(&romext_mapping, 0xc8000, 0x08000, mem_read_romext, mem_read_romextw, mem_read_romextl, NULL, NULL, NULL, romext, 0, NULL);
|
||||
|
||||
// pclog("Mem resize %i %i\n",mem_size,c);
|
||||
|
|
|
|||
1
src/pc.c
1
src/pc.c
|
|
@ -342,6 +342,7 @@ void resetpchard()
|
|||
disc_reset();
|
||||
|
||||
model_init();
|
||||
mem_add_bios();
|
||||
video_init();
|
||||
speaker_init();
|
||||
sound_card_init(sound_card_current);
|
||||
|
|
|
|||
Loading…
Reference in a new issue