aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_gui/mainwindow.cpp')
-rw-r--r--qtmips_gui/mainwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qtmips_gui/mainwindow.cpp b/qtmips_gui/mainwindow.cpp
index d6d0b35..2c9883d 100644
--- a/qtmips_gui/mainwindow.cpp
+++ b/qtmips_gui/mainwindow.cpp
@@ -156,7 +156,8 @@ void MainWindow::create_core(const machine::MachineConfig &config) {
if (config.osemu_enable()) {
osemu::OsSyscallExceptionHandler *osemu_handler =
new osemu::OsSyscallExceptionHandler(config.osemu_known_syscall_stop(),
- config.osemu_unknown_syscall_stop());
+ config.osemu_unknown_syscall_stop(),
+ config.osemu_fs_root());
machine->register_exception_handler(machine::EXCAUSE_SYSCALL, osemu_handler);
connect(osemu_handler, SIGNAL(char_written(int,uint)), terminal, SLOT(tx_byte(int,uint)));
connect(osemu_handler, SIGNAL(rx_byte_pool(int,uint&,bool&)),