deltabeard / Peanut-GB

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

core: serial code interfering with incompatible games #39

Closed itsmeitsme closed 4 years ago

itsmeitsme commented 4 years ago

Hi, after quite some debugging I found out that Tetris won't work as long as the serial support is enabled. If you remove the serial interrupt and transfer code, Tetris will fully work again.

However, I haven't figured out the exact cause.

deltabeard commented 4 years ago

Thanks! This should be fixed now. I also tested this with Pokemon Yellow. Serial won't work right now due to lack of implementing external and internal clocks I think. I'll have a proper look at making serial working in the future.