Expose Renderer's Framecount

We don't want to move it, because we want to complete
this refactor without changing savestate version
This commit is contained in:
Scott Mansell 2023-01-31 01:03:46 +13:00
parent 3be63221c7
commit ec8f46b02c
4 changed files with 9 additions and 7 deletions

View file

@ -783,7 +783,7 @@ void TextureCacheBase::OnFrameEnd()
g_texture_cache->FlushEFBCopies();
}
g_texture_cache->Cleanup(g_renderer->m_frame_count);
g_texture_cache->Cleanup(g_renderer->FrameCount());
}
void TCacheEntry::DoState(PointerWrap& p)