move increasing t1_count here otherwise it would never be

This commit is contained in:
Gwenhael Le Moine 2024-09-27 21:23:23 +02:00
parent 145a6430d8
commit a39e209394
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -225,7 +225,7 @@ static void EmulatorLoop( void )
/* DrawLcd(); */
/* Emulator Interrupt Request */
if ( ( t1_count & INT_T1_MASK ) == 0 && emulator_int_req ) {
if ( ( t1_count++ & INT_T1_MASK ) == 0 && emulator_int_req ) {
ChfCondition CPU_I_EMULATOR_INT, CHF_INFO ChfEnd;
ChfSignal();
}