mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-21 17:30:46 +00:00
24 lines
419 B
C++
24 lines
419 B
C++
#pragma once
|
|
#include <QThread>
|
|
#include "input/input_state.h"
|
|
|
|
class QtEmuGL;
|
|
|
|
class EmuThread : public QThread
|
|
{
|
|
public:
|
|
EmuThread() : running(false) {}
|
|
void init(InputState* inputState);
|
|
void run();
|
|
void FinalShutdown();
|
|
void setRunning(bool value);
|
|
public slots:
|
|
void Shutdown();
|
|
private:
|
|
InputState* input_state;
|
|
bool running;
|
|
};
|
|
|
|
void EmuThread_Start(QString filename, QtEmuGL* w);
|
|
void EmuThread_Stop();
|