Qt: Implement "Load GameCube Main Menu"

This commit is contained in:
spycrab
2017-08-24 16:35:47 +02:00
parent 0dfde1d34e
commit a2b7632850
4 changed files with 49 additions and 7 deletions

View File

@ -9,11 +9,14 @@
#include <QString>
#include <QToolBar>
#include <memory>
#include "DolphinQt2/GameList/GameList.h"
#include "DolphinQt2/MenuBar.h"
#include "DolphinQt2/RenderWidget.h"
#include "DolphinQt2/ToolBar.h"
struct BootParameters;
class HotkeyScheduler;
class LoggerWidget;
class MappingWindow;
@ -83,6 +86,7 @@ private:
void InitCoreCallbacks();
void StartGame(const QString& path);
void StartGame(std::unique_ptr<BootParameters>&& parameters);
void ShowRenderWidget();
void HideRenderWidget();
@ -99,6 +103,7 @@ private:
bool NetPlayHost(const QString& game_id);
void NetPlayQuit();
void OnBootGameCubeIPL(DiscIO::Region region);
void OnStopComplete();
void dragEnterEvent(QDragEnterEvent* event) override;
void dropEvent(QDropEvent* event) override;
@ -113,7 +118,7 @@ private:
bool m_stop_requested = false;
bool m_exit_requested = false;
int m_state_slot = 1;
QString m_pending_boot;
std::unique_ptr<BootParameters> m_pending_boot;
HotkeyScheduler* m_hotkey_scheduler;
ControllersWindow* m_controllers_window;