mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-27 11:48:42 +00:00
DolphinQt2/Host: cleanup
This commit is contained in:
parent
8e55374662
commit
ebeac18472
2 changed files with 8 additions and 20 deletions
|
@ -4,9 +4,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <QMutex>
|
||||
#include <QObject>
|
||||
#include <QSize>
|
||||
#include <atomic>
|
||||
|
||||
// Singleton that talks to the Core via the interface defined in Core/Host.h.
|
||||
// Because Host_* calls might come from different threads than the MainWindow,
|
||||
|
@ -35,11 +34,9 @@ signals:
|
|||
void RequestRenderSize(int w, int h);
|
||||
|
||||
private:
|
||||
Host() {}
|
||||
static Host* m_instance;
|
||||
QMutex m_lock;
|
||||
Host();
|
||||
|
||||
void* m_render_handle;
|
||||
bool m_render_focus;
|
||||
bool m_render_fullscreen;
|
||||
std::atomic<void*> m_render_handle;
|
||||
std::atomic<bool> m_render_focus;
|
||||
std::atomic<bool> m_render_fullscreen;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue