From c3c91c090847e85695f2787f63e36d16933d63e2 Mon Sep 17 00:00:00 2001 From: Steven Hugg Date: Fri, 27 Sep 2019 20:50:41 -0500 Subject: [PATCH] attempt to fix typescript build --- Makefile | 1 + package-lock.json | 6 +++--- package.json | 2 +- src/baseplatform.ts | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index bdefcc5f..f8d50034 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ TSC=./node_modules/typescript/bin/tsc all: cp nanoasm/src/assembler.ts src/worker/ + $(TSC) -v $(TSC) cd jsnes && npm i diff --git a/package-lock.json b/package-lock.json index 67b45651..66cd8229 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2080,9 +2080,9 @@ "dev": true }, "typescript": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.6.2.tgz", - "integrity": "sha512-lmQ4L+J6mnu3xweP8+rOrUwzmN+MRAj7TgtJtDaXE5PMyX2kCrklhg3rvOsOIfNeAWMQWO2F1GPc1kMD2vLAfw==", + "version": "3.6.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.6.3.tgz", + "integrity": "sha512-N7bceJL1CtRQ2RiG0AQME13ksR7DiuQh/QehubYcghzv20tnh+MQnQIuJddTmsbqYj+dztchykemz0zFzlvdQw==", "dev": true }, "typescript-formatter": { diff --git a/package.json b/package.json index b0a8a9ca..9ecbcf5e 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "octokat": "^0.10.0", "pngjs": "^3.3.3", "rgbquant": "^1.1.2", - "typescript": "^3.6.2", + "typescript": "^3.6.3", "typescript-formatter": "^7.2.2" }, "main": "main.js", diff --git a/src/baseplatform.ts b/src/baseplatform.ts index 2d44b264..6e8b5ab5 100644 --- a/src/baseplatform.ts +++ b/src/baseplatform.ts @@ -50,7 +50,7 @@ export class DebugSymbols { this.symbolmap = symbolmap; this.addr2symbol = invertMap(symbolmap); //// TODO: shouldn't be necc. - if (!this.addr2symbol[0x0]) this.addr2symbol[0x0] = ' '; // needed for ... + if (!this.addr2symbol[0x0]) this.addr2symbol[0x0] = '$00'; // needed for ... this.addr2symbol[0x10000] = '__END__'; // ... dump memory to work } }