]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/gui/mainwin.h
Added logging of GPU/DSP states on exit.
[virtualjaguar] / src / gui / mainwin.h
index 9efddfd83133554c63ced950cd4584a48efe167f..a29dbc6119343f2edd1f1a8fdf81e45a36bc84b4 100644 (file)
@@ -9,9 +9,11 @@
 #define __MAINWIN_H__
 
 //Hrm. uh??? I thought this wasn't the way to do this stuff...???
-#include <QtGui>
+#include <QtWidgets>
 #include "tom.h"
 
+#define RING_BUFFER_SIZE 32
+
 // Forward declarations
 class GLWidget;
 class AboutWindow;
@@ -90,7 +92,9 @@ class MainWin: public QMainWindow
                int zoomLevel;
                bool powerButtonOn;
                bool showUntunedTankCircuit;
+       public:
                bool cartridgeLoaded;
+       private:
                bool allowUnknownSoftware;
                bool CDActive;
 //             bool alpineLoadSuccessful;
@@ -98,11 +102,16 @@ class MainWin: public QMainWindow
                bool loadAndGo;
                bool keyHeld[8];
                bool fullScreen;
+               bool scannedSoftwareFolder;
        public:
                bool plzDontKillMyComputer;
+               uint32_t oldTimestamp;
+               uint32_t ringBufferPointer;
+               uint32_t ringBuffer[RING_BUFFER_SIZE];
        private:
                QPoint mainWinPosition;
 //             QSize mainWinSize;
+               int lastEditedProfile;
                QMenu * fileMenu;
                QMenu * helpMenu;
                QMenu * debugMenu;
@@ -138,6 +147,7 @@ class MainWin: public QMainWindow
                QIcon powerGreen;
                QIcon powerRed;
                uint32_t testPattern[VIRTUAL_SCREEN_WIDTH * VIRTUAL_SCREEN_HEIGHT_PAL];
+               uint32_t testPattern2[VIRTUAL_SCREEN_WIDTH * VIRTUAL_SCREEN_HEIGHT_PAL];
 };
 
 #endif // __MAINWIN_H__