Qt: Fixed a bug in shutdown procedure, various cleanups.
This commit is contained in:
parent
ad4445c529
commit
bc41de2131
7 changed files with 26 additions and 35 deletions
|
@ -51,9 +51,9 @@ public:
|
|||
bool IsRunning() { return running; }
|
||||
|
||||
/**
|
||||
* Requests for the emulation thread to stop running and shutdown emulation
|
||||
* Requests for the emulation thread to stop running
|
||||
*/
|
||||
void RequestShutdown() {
|
||||
void RequestStop() {
|
||||
stop_run = true;
|
||||
running = false;
|
||||
};
|
||||
|
@ -115,8 +115,8 @@ public:
|
|||
public slots:
|
||||
void moveContext(); // overridden
|
||||
|
||||
void OnEmulationStarted(EmuThread* emu_thread);
|
||||
void OnEmulationStopped();
|
||||
void OnEmulationStarting(EmuThread* emu_thread);
|
||||
void OnEmulationStopping();
|
||||
|
||||
private:
|
||||
void OnMinimalClientAreaChangeRequest(const std::pair<unsigned,unsigned>& minimal_size) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue