An interrupt should also occur when using external clock.

This commit is contained in:
Lior Halphon 2016-11-13 00:42:05 +02:00
parent 22c34e1095
commit 8c14ec3268

View File

@ -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)