From cc025447dc01cfdb684af813d66bc7ad845c4daa Mon Sep 17 00:00:00 2001 From: Will Scullin Date: Sun, 12 Jun 2022 19:39:03 -0700 Subject: [PATCH] Fix write error status --- js/cards/smartport.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/cards/smartport.ts b/js/cards/smartport.ts index 7568e5b..98db6ae 100644 --- a/js/cards/smartport.ts +++ b/js/cards/smartport.ts @@ -276,7 +276,7 @@ export default class SmartPort implements Card, MassStorage, Restor buffer = buffer.inc(1); } state.a = 0; - state.s &= flags.C; + state.s &= ~flags.C; } /*