FPS counter is back

This commit is contained in:
Arisotura
2020-04-27 23:58:29 +02:00
parent a8aa834c16
commit 0913576ef5
2 changed files with 28 additions and 11 deletions

View File

@ -33,12 +33,17 @@ class EmuThread : public QThread
public:
explicit EmuThread(QObject* parent = nullptr);
void changeWindowTitle(char* title);
// to be called from the UI thread
void emuRun();
void emuPause(bool refresh);
void emuUnpause();
void emuStop();
signals:
void windowTitleChange(QString title);
private:
volatile int EmuStatus;
int PrevEmuStatus;
@ -73,6 +78,8 @@ public:
private slots:
void onOpenFile();
void onTitleUpdate(QString title);
private:
MainWindowPanel* panel;
};