From 4ca31678d5e7e3c58c55b2c9974155c012187bea Mon Sep 17 00:00:00 2001 From: zanostro Date: Thu, 20 Nov 2025 11:13:58 +0100 Subject: [PATCH] fixed stuff --- simulator_SIC_XE/gui/qt/mainwindow.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/simulator_SIC_XE/gui/qt/mainwindow.cpp b/simulator_SIC_XE/gui/qt/mainwindow.cpp index afc464c..45d5d37 100644 --- a/simulator_SIC_XE/gui/qt/mainwindow.cpp +++ b/simulator_SIC_XE/gui/qt/mainwindow.cpp @@ -99,9 +99,11 @@ MainWindow::MainWindow(QWidget *parent) : setupMemoryDisplay(); setupDisassemblyDisplay(); + + loadInstructionSet(); //loadDemoProgram(); - g_loader = std::make_shared(machine(), std::string(PATH_RESOURCES) + "demo_program.obj"); - g_loader->load(); + Loader loader(m_machine, std::string(PATH_RESOURCES) + "test.obj"); + loader.load(); updateRegisterDisplays(); updateMemoryDisplay();