]> localhost Git - WindEmu.git/commitdiff
test: series7
authorGeorge Wright <gw@gwright.org.uk>
Thu, 25 Jun 2026 23:35:44 +0000 (16:35 -0700)
committerGeorge Wright <gw@gwright.org.uk>
Fri, 26 Jun 2026 03:45:44 +0000 (20:45 -0700)
WindQt/main.cpp

index a655bb3ddf2e1639afdcfdcda88949e949ff0408..f9bee049ae91326299e8ef130b3cc6a16c548f04 100644 (file)
@@ -1,5 +1,7 @@
 #include "../WindCore/osaris/clps7111.h"
 #include "../WindCore/series5mx/windermere.h"
+#include "../WindCore/series7/sa1100.h"
+
 #include "mainwindow.h"
 #include <QApplication>
 #include <QFileDialog>
@@ -51,6 +53,9 @@ int main(int argc, char* argv[]) {
     }
   }
 
+  if (!emu) {
+    emu = new SA1100::Emulator;
+  }
   emu->loadROM(romData, buffer.size());
   MainWindow w(emu);
   w.show();