1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-11-25 18:33:11 +00:00

upgraded sentry; make sync

This commit is contained in:
Steven Hugg 2021-05-21 12:00:30 -05:00
parent 54a23e0cd5
commit b1263513ed
3 changed files with 11 additions and 4 deletions

View File

@ -48,3 +48,10 @@ tsweb:
astrolibre.b64.txt: astrolibre.rom
lzg -9 $< | base64 -w 0 > $@
VERSION := $(shell git tag -l --points-at HEAD)
sync: dist
@[ "${VERSION}" ] || ( echo ">> No version set at HEAD, tag it first"; exit 1 )
echo Version: $(VERSION)
cp config.js $(TMP)
aws --profile pzp s3 sync $(TMP)/ s3://8bitworkshop/dev

View File

@ -614,8 +614,8 @@ $( ".dropdown-submenu" ).click(function(event) {
<!-- Sentry error reporting -->
<script
src="https://browser.sentry-cdn.com/5.29.0/bundle.min.js"
integrity="sha384-/dYT/04VSU9ItKRPTkWeVZ0kqRsVh/T/5rNCjzBwpx7sYeeueKgJzGMNXSal3xoo"
src="https://browser.sentry-cdn.com/6.4.1/bundle.min.js"
integrity="sha384-THoc7rflwZFKTdZNgv6jLFFDn299Uv3t1SW5B4yGLvLiCRTYP9ys6vXZcMl95TQF"
crossorigin="anonymous"
></script>
<script>

View File

@ -119,7 +119,7 @@ class VCSPlatform extends BasePlatform {
loadROM(title, data) {
if (data.length == 0 || ((data.length & 0x3ff) != 0))
throw Error("Invalid ROM length: " + data.length);
throw new EmuHalt("Invalid ROM length: " + data.length);
// TODO: parse Log messages from Javatari?
var wasrunning = this.isRunning();
Javatari.loadROM(title, data);
@ -298,7 +298,7 @@ class VCSPlatform extends BasePlatform {
}
}
bankSwitchStateToString(state) {
return (state.ca.bo !== undefined ? ("BankOffset "+hex(state.ca.bo,4)+"\n"):"");
return (state.ca && state.ca.bo !== undefined) ? "BankOffset "+hex(state.ca.bo,4)+"\n" : "";
}
piaStateToLongString(p) {
return "Timer " + p.t + "/" + p.c + "\nINTIM $" + hex(p.IT,2) + " (" + p.IT + ")\nINSTAT $" + hex(p.IS,2) + "\n";