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

@ -11,6 +11,7 @@ public:
GPU_HW();
virtual ~GPU_HW();
virtual bool Initialize(System* system, DMA* dma, InterruptController* interrupt_controller, Timers* timers) override;
virtual void Reset() override;
virtual void UpdateSettings() override;
@ -108,6 +109,8 @@ protected:
std::string GenerateDisplayFragmentShader(bool depth_24bit, bool interlaced);
HWRenderBatch m_batch = {};
u32 m_resolution_scale = 1;
u32 m_max_resolution_scale = 1;
bool m_true_color = false;
private: