mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Move GLInterface around to remove VideoBackends dependency on DolphinWX
This commit is contained in:
@ -46,6 +46,7 @@
|
||||
#include "DolphinWX/Frame.h"
|
||||
#include "DolphinWX/Globals.h"
|
||||
#include "DolphinWX/Main.h"
|
||||
#include "DolphinWX/VideoConfigDiag.h"
|
||||
#include "DolphinWX/WxUtils.h"
|
||||
#include "DolphinWX/Debugger/CodeWindow.h"
|
||||
#include "DolphinWX/Debugger/JitWindow.h"
|
||||
@ -699,3 +700,11 @@ void Host_ConnectWiimote(int wm_idx, bool connect)
|
||||
{
|
||||
CFrame::ConnectWiimote(wm_idx, connect);
|
||||
}
|
||||
|
||||
void Host_ShowVideoConfig(void* parent, const std::string& backend_name,
|
||||
const std::string& config_name)
|
||||
{
|
||||
VideoConfigDiag diag((wxWindow*)parent, WxStrToStr(backend_name),
|
||||
WxStrToStr(config_name));
|
||||
diag.ShowModal();
|
||||
}
|
||||
|
Reference in New Issue
Block a user