GPU: Add GPU::GetFullDisplayResolution()
This commit is contained in:
parent
a44e9d16fb
commit
628dc36e77
4 changed files with 25 additions and 9 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue