summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-29 08:05:06 +0200
committerLioncash <mathew1800@gmail.com>2019-06-03 21:34:31 +0200
commit536c9cf006750927aa06d842d8bd18d7274c0be6 (patch)
tree9e8ca81f3ad5f1fe61a4a0ed16b4a1ed782edfbf
parentyuzu/bootmanager: unsigned -> u32 (diff)
downloadyuzu-536c9cf006750927aa06d842d8bd18d7274c0be6.tar
yuzu-536c9cf006750927aa06d842d8bd18d7274c0be6.tar.gz
yuzu-536c9cf006750927aa06d842d8bd18d7274c0be6.tar.bz2
yuzu-536c9cf006750927aa06d842d8bd18d7274c0be6.tar.lz
yuzu-536c9cf006750927aa06d842d8bd18d7274c0be6.tar.xz
yuzu-536c9cf006750927aa06d842d8bd18d7274c0be6.tar.zst
yuzu-536c9cf006750927aa06d842d8bd18d7274c0be6.zip
-rw-r--r--src/yuzu/bootmanager.cpp2
-rw-r--r--src/yuzu/bootmanager.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp
index 05b2c2bea..97dee32e1 100644
--- a/src/yuzu/bootmanager.cpp
+++ b/src/yuzu/bootmanager.cpp
@@ -26,6 +26,8 @@
EmuThread::EmuThread(GRenderWindow* render_window) : render_window(render_window) {}
+EmuThread::~EmuThread() = default;
+
void EmuThread::run() {
render_window->MakeCurrent();
diff --git a/src/yuzu/bootmanager.h b/src/yuzu/bootmanager.h
index 85c080000..21b4958ff 100644
--- a/src/yuzu/bootmanager.h
+++ b/src/yuzu/bootmanager.h
@@ -27,11 +27,12 @@ namespace VideoCore {
enum class LoadCallbackStage;
}
-class EmuThread : public QThread {
+class EmuThread final : public QThread {
Q_OBJECT
public:
explicit EmuThread(GRenderWindow* render_window);
+ ~EmuThread() override;
/**
* Start emulation (on new thread)