mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 03:24:59 +00:00
Fix build failure of gba.cpp on Linux
This commit is contained in:
parent
18979129f3
commit
18cb16d933
1 changed files with 2 additions and 2 deletions
|
@ -306,7 +306,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;
|
||||
}
|
||||
|
@ -393,7 +393,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())
|
||||
|
|
Loading…
Add table
Reference in a new issue