mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 19:45:47 -04:00
GPU: Compute display aspect ratio based on visible area
This commit is contained in:
@ -16,7 +16,6 @@ class Timers;
|
||||
class GPU
|
||||
{
|
||||
public:
|
||||
static constexpr float DISPLAY_ASPECT_RATIO = 4.0f / 3.0f;
|
||||
enum : u32
|
||||
{
|
||||
VRAM_WIDTH = 1024,
|
||||
@ -342,6 +341,8 @@ protected:
|
||||
TickCount current_tick_in_scanline;
|
||||
u32 current_scanline;
|
||||
|
||||
float display_aspect_ratio;
|
||||
|
||||
bool in_hblank;
|
||||
bool in_vblank;
|
||||
} m_crtc_state = {};
|
||||
|
Reference in New Issue
Block a user