mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
start work on the input config dialog. nonfunctional and looks like shit.
add manifest crap under Windows so it gets the cool controls.
This commit is contained in:
@ -23,6 +23,8 @@
|
||||
#include "../NDS.h"
|
||||
#include "../GPU.h"
|
||||
|
||||
#include "InputConfig.h"
|
||||
|
||||
|
||||
bool Touching;
|
||||
|
||||
@ -58,6 +60,8 @@ wxBEGIN_EVENT_TABLE(MainFrame, wxFrame)
|
||||
EVT_MENU(ID_OPENROM, MainFrame::OnOpenROM)
|
||||
EVT_MENU(ID_EXIT, MainFrame::OnCloseFromMenu)
|
||||
|
||||
EVT_MENU(ID_INPUTCONFIG, MainFrame::OnInputConfig)
|
||||
|
||||
EVT_PAINT(MainFrame::OnPaint)
|
||||
EVT_IDLE(MainFrame::OnIdle)
|
||||
wxEND_EVENT_TABLE()
|
||||
@ -179,6 +183,12 @@ void MainFrame::OnOpenROM(wxCommandEvent& event)
|
||||
emustatuschangemutex->Unlock();
|
||||
}
|
||||
|
||||
void MainFrame::OnInputConfig(wxCommandEvent& event)
|
||||
{
|
||||
InputConfigDialog dlg(this);
|
||||
dlg.ShowModal();
|
||||
}
|
||||
|
||||
void MainFrame::ProcessSDLEvents()
|
||||
{
|
||||
bool running = (emustatus == 1);
|
||||
|
Reference in New Issue
Block a user