GPU: Fix double shader compilation

This commit is contained in:
Connor McLaughlin
2020-06-09 03:04:02 +10:00
parent 86f0d32e70
commit bdf9c91271
3 changed files with 10 additions and 1 deletions

View File

@ -169,6 +169,9 @@ public:
// Converts window coordinates into horizontal ticks and scanlines. Returns false if out of range. Used for lightguns.
bool ConvertScreenCoordinatesToBeamTicksAndLines(s32 window_x, s32 window_y, u32* out_tick, u32* out_line) const;
// Updates hardware type from settings.
void UpdateHardwareType();
protected:
TickCount GPUTicksToSystemTicks(TickCount gpu_ticks, TickCount fractional_ticks) const;
TickCount SystemTicksToGPUTicks(TickCount sysclk_ticks, TickCount* fractional_ticks) const;