deltabeard / Peanut-GB

A Game Boy (DMG) emulator single header library written in C99. Performance is prioritised over accuracy.
https://projects.deltabeard.com/peanutgb/
329 stars 41 forks source link

serial: RX function uses incorrect logic for external/internal clocking #40

Closed deltabeard closed 4 years ago

deltabeard commented 5 years ago

When external clock is selected, the SB register is not modified when no external peripheral or console is attached.