GPU: Add a helper function to determine how many GPU ticks are pending

This commit is contained in:
Connor McLaughlin
2020-03-01 17:04:36 +10:00
parent 635ab72b37
commit 6b9c6d3750
2 changed files with 11 additions and 2 deletions

View File

@ -307,6 +307,9 @@ protected:
// Ticks for hblank/vblank.
void Execute(TickCount ticks);
/// Returns the number of pending GPU ticks.
TickCount GetPendingGPUTicks() const;
/// Returns true if scanout should be interlaced.
bool IsDisplayInterlaced() const { return !m_force_progressive_scan && m_GPUSTAT.In480iMode(); }