mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
a1d094e64e
It's unlikely it was causing issues, but another race existed in the dispmanx driver, it incremented the pending page count after sending the update request. If a context switch happened between sending the update and incrementing the page count, the vsync callback would decrement it from 0 and cause the uint to overflow. Throw in a minor C89 fix and some whitespace fixups too.