aboutsummaryrefslogtreecommitdiff
path: root/src/wx/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/main.h')
-rw-r--r--src/wx/main.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/wx/main.h b/src/wx/main.h
index eb54a21..32fe2e0 100644
--- a/src/wx/main.h
+++ b/src/wx/main.h
@@ -91,10 +91,27 @@ public:
EmuThread(MainFrame* parent);
~EmuThread();
+ void EmuRun() { emustatus = 1; }
+ void EmuPause() { emustatus = 2; }
+ void EmuExit() { emustatus = 0; }
+
protected:
virtual ExitCode Entry();
+ void ProcessEvents();
MainFrame* parent;
+
+ SDL_Window* sdlwin;
+ SDL_Renderer* sdlrend;
+ SDL_Texture* sdltex;
+
+ void* texpixels;
+ int texstride;
+
+ int joyid;
+ u32 axismask;
+
+ int emustatus;
};
#endif // WX_MAIN_H