1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-12-22 12:30:01 +00:00

attempt to fix typescript build

This commit is contained in:
Steven Hugg 2019-09-27 20:50:41 -05:00
parent 34d1885851
commit c3c91c0908
4 changed files with 6 additions and 5 deletions

View File

@ -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

6
package-lock.json generated
View File

@ -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": {

View File

@ -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",

View File

@ -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
}
}