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()
|
||||
{
|
||||
cpu_set();
|
||||
resetx86();
|
||||
//timer_reset();
|
||||
dma_reset();
|
||||
|
|
@ -358,6 +357,7 @@ void initpc(int argc, char *argv[])
|
|||
|
||||
void resetpc()
|
||||
{
|
||||
cpu_set();
|
||||
pc_reset();
|
||||
// cpuspeed2=(AT)?2:1;
|
||||
// atfullspeed=0;
|
||||
|
|
@ -383,6 +383,7 @@ void resetpchard()
|
|||
|
||||
timer_reset();
|
||||
sound_reset();
|
||||
cpu_set();
|
||||
mem_resize();
|
||||
fdc_init();
|
||||
disc_reset();
|
||||
|
|
|
|||
Loading…
Reference in a new issue