Yeah, byuu had SMP control port reset right the first time, I misinterpreted some other emulator code
parent
4be3186b4c
commit
ec58587742
|
@ -98,15 +98,6 @@ void SMP::op_buswrite(uint16_t addr, uint8_t data) {
|
||||||
case 0xf1: //CONTROL
|
case 0xf1: //CONTROL
|
||||||
status.iplrom_enable = data & 0x80;
|
status.iplrom_enable = data & 0x80;
|
||||||
|
|
||||||
if ( data & 0x10 ) {
|
|
||||||
sfm_last [ 0 ] = 0;
|
|
||||||
sfm_last [ 1 ] = 0;
|
|
||||||
}
|
|
||||||
if ( data & 0x20 ) {
|
|
||||||
sfm_last [ 2 ] = 0;
|
|
||||||
sfm_last [ 3 ] = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
//0->1 transistion resets timers
|
//0->1 transistion resets timers
|
||||||
if(timer2.enable == false && (data & 0x04)) {
|
if(timer2.enable == false && (data & 0x04)) {
|
||||||
timer2.stage2_ticks = 0;
|
timer2.stage2_ticks = 0;
|
||||||
|
|
Loading…
Reference in New Issue