Fixed a CPU reset mess.

This commit is contained in:
OBattler
2021-12-19 19:14:21 +01:00
parent bdc8c711bf
commit 9ec4fd3bdd
2 changed files with 6 additions and 18 deletions

View File

@@ -570,15 +570,9 @@ reset_808x(int hard)
pfq_clear();
}
if (AT) {
load_cs(0xF000);
cpu_state.pc = 0xFFF0;
rammask = cpu_16bitbus ? 0xFFFFFF : 0xFFFFFFFF;
} else {
load_cs(0xFFFF);
cpu_state.pc = 0;
rammask = 0xfffff;
}
load_cs(0xFFFF);
cpu_state.pc = 0;
rammask = 0xfffff;
prefetching = 1;
cpu_alu_op = 0;