Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37769829
en ru br
ALT Linux repos
S:5.0.19870-alt3.1

Group :: Emulators
RPM: dolphin-emu

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: dolphin-gbacore-alt.patch
Download


diff --git a/Source/Core/Core/HW/GBACore.cpp b/Source/Core/Core/HW/GBACore.cpp
index 5c8ac7b275..cb62141522 100644
--- a/Source/Core/Core/HW/GBACore.cpp
+++ b/Source/Core/Core/HW/GBACore.cpp
@@ -305,7 +305,7 @@ CoreInfo Core::GetCoreInfo() const
   info.has_rom = !m_rom_path.empty();
   info.has_ereader =
       info.is_gba && static_cast<::GBA*>(m_core->board)->memory.hw.devices & HW_EREADER;
-  m_core->currentVideoSize(m_core, &info.width, &info.height);
+  m_core->desiredVideoDimensions(m_core, &info.width, &info.height);
   info.game_title = m_game_title;
   return info;
 }
@@ -392,7 +392,7 @@ void Core::SetSIODriver()
 void Core::SetVideoBuffer()
 {
   u32 width, height;
-  m_core->currentVideoSize(m_core, &width, &height);
+  m_core->desiredVideoDimensions(m_core, &width, &height);
   m_video_buffer.resize(width * height);
   m_core->setVideoBuffer(m_core, m_video_buffer.data(), width);
   if (auto host = m_host.lock())
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin