mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Use Slot in GameCubePane
This commit is contained in:
@ -9,6 +9,9 @@
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
#include "Common/EnumMap.h"
|
||||
#include "Core/HW/EXI/EXI.h"
|
||||
|
||||
class QCheckBox;
|
||||
class QComboBox;
|
||||
class QLineEdit;
|
||||
@ -31,9 +34,11 @@ private:
|
||||
|
||||
void OnEmulationStateChanged();
|
||||
|
||||
void UpdateButton(int slot);
|
||||
void OnConfigPressed(int slot);
|
||||
void UpdateButton(ExpansionInterface::Slot slot);
|
||||
void OnConfigPressed(ExpansionInterface::Slot slot);
|
||||
|
||||
void BrowseMemcard(ExpansionInterface::Slot slot);
|
||||
void BrowseAGPRom(ExpansionInterface::Slot slot);
|
||||
void BrowseGBABios();
|
||||
void BrowseGBARom(size_t index);
|
||||
void SaveRomPathChanged();
|
||||
@ -42,8 +47,8 @@ private:
|
||||
QCheckBox* m_skip_main_menu;
|
||||
QComboBox* m_language_combo;
|
||||
|
||||
QPushButton* m_slot_buttons[3];
|
||||
QComboBox* m_slot_combos[3];
|
||||
Common::EnumMap<QPushButton*, ExpansionInterface::MAX_SLOT> m_slot_buttons;
|
||||
Common::EnumMap<QComboBox*, ExpansionInterface::MAX_SLOT> m_slot_combos;
|
||||
|
||||
QCheckBox* m_gba_threads;
|
||||
QCheckBox* m_gba_save_rom_path;
|
||||
|
Reference in New Issue
Block a user