GPU: Update GPUSTAT if raster has passed to the next line

Fixes games which poll GPUSTAT, including The Next Tetris (Europe).
This commit is contained in:
Connor McLaughlin
2020-03-01 17:07:17 +10:00
parent b0b1fd8f1a
commit 34f1c644f5
2 changed files with 15 additions and 0 deletions

View File

@ -310,6 +310,9 @@ protected:
/// Returns the number of pending GPU ticks.
TickCount GetPendingGPUTicks() const;
/// Returns true if enough ticks have passed for the raster to be on the next line.
bool IsRasterScanlinePending() const;
/// Returns true if scanout should be interlaced.
bool IsDisplayInterlaced() const { return !m_force_progressive_scan && m_GPUSTAT.In480iMode(); }