UI itself is usable
This commit is contained in:
11
src/frontend/EmuThread.cpp
Normal file
11
src/frontend/EmuThread.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <EmuThread.hpp>
|
||||
|
||||
EmuThread::EmuThread(QObject* parent_object) noexcept : QThread(parent_object) {}
|
||||
|
||||
[[noreturn]] void EmuThread::run() noexcept {
|
||||
while (true) {
|
||||
if (!core.pause) {
|
||||
core.Run(0.5, 0.5);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user