GPU: Add GPU::GetFullDisplayResolution()
This commit is contained in:
@ -76,11 +76,16 @@ void GPU::CPUClockChanged()
|
||||
|
||||
void GPU::UpdateResolutionScale() {}
|
||||
|
||||
std::tuple<u32, u32> GPU::GetEffectiveDisplayResolution()
|
||||
std::tuple<u32, u32> GPU::GetEffectiveDisplayResolution(bool scaled /* = true */)
|
||||
{
|
||||
return std::tie(m_crtc_state.display_vram_width, m_crtc_state.display_vram_height);
|
||||
}
|
||||
|
||||
std::tuple<u32, u32> GPU::GetFullDisplayResolution(bool scaled /* = true */)
|
||||
{
|
||||
return std::tie(m_crtc_state.display_width, m_crtc_state.display_height);
|
||||
}
|
||||
|
||||
void GPU::Reset(bool clear_vram)
|
||||
{
|
||||
SoftReset();
|
||||
|
||||
Reference in New Issue
Block a user