GPU: Move resolution scale to hardware backend only

This commit is contained in:
Connor McLaughlin
2019-11-02 01:32:27 +10:00
parent c9feb7ea07
commit c52c0608ae
6 changed files with 21 additions and 15 deletions

View File

@ -52,9 +52,7 @@ public:
void DMARead(u32* words, u32 word_count);
void DMAWrite(const u32* words, u32 word_count);
// Resolution scaling.
u32 GetResolutionScale() const { return m_resolution_scale; }
u32 GetMaxResolutionScale() const { return m_max_resolution_scale; }
// Recompile shaders/recreate framebuffers when needed.
virtual void UpdateSettings();
// Ticks for hblank/vblank.
@ -299,10 +297,6 @@ protected:
InterruptController* m_interrupt_controller = nullptr;
Timers* m_timers = nullptr;
// Resolution scale.
u32 m_resolution_scale = 1;
u32 m_max_resolution_scale = 1;
union GPUSTAT
{
u32 bits;