mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-21 02:45:00 +00:00
initial work on sdl events
This commit is contained in:
parent
8954a35eec
commit
61280cb6cf
2 changed files with 26 additions and 0 deletions
|
@ -12,6 +12,16 @@ struct WindowCtx {
|
|||
SDL_Window* m_window = nullptr;
|
||||
bool is_window_hidden = true;
|
||||
};
|
||||
|
||||
struct EmuPrivate {
|
||||
EmuPrivate() = default;
|
||||
Lib::Mutex m_mutex;
|
||||
HLE::Libs::Graphics::GraphicCtx* m_graphic_ctx = nullptr;
|
||||
void* data1 = nullptr;
|
||||
void* data2 = nullptr;
|
||||
u32 m_screen_width = {0};
|
||||
u32 m_screen_height = {0};
|
||||
};
|
||||
void emuInit(u32 width, u32 height);
|
||||
void emuRun();
|
||||
} // namespace Emulator
|
Loading…
Add table
Add a link
Reference in a new issue