mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
DolphinQt2/Host: cleanup
This commit is contained in:
@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user