Skip to content

Commit

Permalink
app: Fix windows load program compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ArhanChaudhary committed Jul 31, 2024
1 parent ed7714e commit 0223104
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/MemoryView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -385,10 +385,10 @@
let actualVMCode =
$ROM.VMCodes[actualVMCodeIndex].VMCode[
expectedVMCodeIndex - VMCodeStarts[actualVMCodeIndex]
];
].trim();
let VMCodeCommentIndex = actualVMCode.indexOf("//");
if (VMCodeCommentIndex !== -1) {
actualVMCode = actualVMCode.slice(0, VMCodeCommentIndex).trim();
actualVMCode = actualVMCode.slice(0, VMCodeCommentIndex);
}
if (expectedVMCode === actualVMCode) {
break;
Expand Down

0 comments on commit 0223104

Please sign in to comment.