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

@ -104,7 +104,8 @@ public:
bool CalculateTargetSize();
int m_frame_count = 0;
int FrameCount() const { return m_frame_count; }
int FrameCountIncrement() { return m_frame_count++; }
void OnConfigChanged(u32 bits);
@ -131,6 +132,8 @@ private:
u32 m_last_xfb_stride = 0;
u32 m_last_xfb_height = 0;
int m_frame_count = 0;
EventHook m_update_widescreen_handle;
EventHook m_config_changed_handle;
};