From 095b5c69ced8319aa8fd61a94afcda8a4119e3cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zeron=20H=C3=B6shin?= <96698378+zHoeshin@users.noreply.github.com> Date: Wed, 24 Jul 2024 16:36:12 +0300 Subject: [PATCH] Update emulator.js --- emulator.js | 1 + 1 file changed, 1 insertion(+) diff --git a/emulator.js b/emulator.js index f817657..a24d830 100644 --- a/emulator.js +++ b/emulator.js @@ -435,6 +435,7 @@ function perform(){ monitor.dot(get(args, 0), get(args, 1), getHexRGBA(get(args, 2))); break; case OP.PTL: monitor.plot(get(args, 0), get(args, 1), get(args, 2), getHexRGBA(pregs[PREGS.$FCOLOR], true), getHexRGBA(pregs[PREGS.$BGCOLOR], false)); break; + case OP.SWP: monitor.swap(); break; case OP.RSH: set(args, 2, get(args, 0) >> get(args, 1), true); break; case OP.LSH: set(args, 2, get(args, 0) << get(args, 1), true); break;