Merge pull request #14054 from Dentomologist/libmgba_fix_build_when_disabled

libmgba: Fix build when disabled
This commit is contained in:
JosJuice authored and GitHub committed 2025-11-01 10:01:48 +01:00
commit 998a3577ce
10 files changed
+31

No files matched your search

@@ -665,6 +665,8 @@ void GameCubePane::SetAGPRom(ExpansionInterface::Slot slot, const QString& filen
LoadSettings();
}
#ifdef HAS_LIBMGBA
void GameCubePane::BrowseGBABios()
{
QString file = QDir::toNativeSeparators(DolphinFileDialog::getOpenFileName(
@@ -699,6 +701,8 @@ void GameCubePane::BrowseGBASaves()
}
}
#endif // HAS_LIBMGBA
void GameCubePane::LoadSettings()
{
bool have_menu = false;
@@ -50,10 +50,13 @@ private:
bool SetGCIFolder(ExpansionInterface::Slot slot, const QString& path);
void BrowseAGPRom(ExpansionInterface::Slot slot);
void SetAGPRom(ExpansionInterface::Slot slot, const QString& filename);
#ifdef HAS_LIBMGBA
void BrowseGBABios();
void BrowseGBARom(size_t index);
void SaveRomPathChanged();
void BrowseGBASaves();
#endif // HAS_LIBMGBA
ConfigBool* m_skip_main_menu;
ConfigChoice* m_language_combo;