mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-11 16:46:16 +00:00
Integrate debugger into analyzer
This commit is contained in:
@@ -51,7 +51,7 @@ function getMessageFromQueue() {
|
||||
|
||||
function runEmulation(filesystem, file, options) {
|
||||
globalThis.Module = {
|
||||
arguments: ["./root", file],
|
||||
arguments: [...options, "-e", "./root", file],
|
||||
onRuntimeInitialized: function () {
|
||||
filesystem.forEach((e) => {
|
||||
if (e.name.endsWith("/")) {
|
||||
@@ -74,5 +74,5 @@ function runEmulation(filesystem, file, options) {
|
||||
postRun: flushLines,
|
||||
};
|
||||
|
||||
importScripts("./debugger.js");
|
||||
importScripts("./analyzer.js");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user