An interrupt should also occur when using external clock.
This commit is contained in:
parent
22c34e1095
commit
8c14ec3268
@ -530,6 +530,7 @@ void GB_serial_set_data(GB_gameboy_t *gb, uint8_t data)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
gb->io_registers[GB_IO_SB] = data;
|
gb->io_registers[GB_IO_SB] = data;
|
||||||
|
gb->io_registers[GB_IO_IF] |= 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
void GB_set_sample_rate(GB_gameboy_t *gb, unsigned int sample_rate)
|
void GB_set_sample_rate(GB_gameboy_t *gb, unsigned int sample_rate)
|
||||||
|
Loading…
Reference in New Issue
Block a user