// SpeedBreaker runtime. GPL-3.0-or-later (see COPYING). // // Startup: find the installed game (or run the first-run installer), load // its default.xex into guest memory, wire the imports, and run the game's // entry point on a guest thread while the main thread runs the window. // // SpeedBreaker the installed game (install::FindGameInstall) // SpeedBreaker path/to/default.xex a specific XEX (development) // SpeedBreaker --install and the other commands in install/install_cli.h #include "stdafx.h" #include "kernel/arena.h" #include "kernel/memory_status.h" #include "kernel/module.h" #include "kernel/write_watch.h" #include "kernel/dispatcher.h" #include "cpu/guest_time.h" #include