Move CPU type set to before memory initialisation. Patch from Greatpsycho.
This commit is contained in:
parent
5416c948a3
commit
4d29b1c71f
1 changed files with 2 additions and 1 deletions
3
src/pc.c
3
src/pc.c
|
|
@ -207,7 +207,6 @@ void onesec()
|
||||||
|
|
||||||
void pc_reset()
|
void pc_reset()
|
||||||
{
|
{
|
||||||
cpu_set();
|
|
||||||
resetx86();
|
resetx86();
|
||||||
//timer_reset();
|
//timer_reset();
|
||||||
dma_reset();
|
dma_reset();
|
||||||
|
|
@ -358,6 +357,7 @@ void initpc(int argc, char *argv[])
|
||||||
|
|
||||||
void resetpc()
|
void resetpc()
|
||||||
{
|
{
|
||||||
|
cpu_set();
|
||||||
pc_reset();
|
pc_reset();
|
||||||
// cpuspeed2=(AT)?2:1;
|
// cpuspeed2=(AT)?2:1;
|
||||||
// atfullspeed=0;
|
// atfullspeed=0;
|
||||||
|
|
@ -383,6 +383,7 @@ void resetpchard()
|
||||||
|
|
||||||
timer_reset();
|
timer_reset();
|
||||||
sound_reset();
|
sound_reset();
|
||||||
|
cpu_set();
|
||||||
mem_resize();
|
mem_resize();
|
||||||
fdc_init();
|
fdc_init();
|
||||||
disc_reset();
|
disc_reset();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue