1. spencercw
  2. gb_emulator

Commits

spencercw  committed 6d2a73f

Update file missing from previous commit.

  • Participants
  • Parent commits ce53447
  • Branches default

Comments (0)

Files changed (1)

File gb_emulator/ops.txt

View file
  • Ignore whitespace
 }
 clog << "stop: stub\n";
 f3   DI         'di'                 0 1 1
-if (ime >= IME_ENABLING1)
-{
+switch (ime)
+{
+case IME_ENABLED:
+case IME_ENABLING1:
+case IME_ENABLING2:
 	ime = IME_DISABLING1;
+	break;
 }
 fb   EI         'ei'                 0 1 1
-if (ime <= IME_DISABLING1)
-{
-	ime = IME_ENABLING1;
-}
+switch (ime)
+{
+case IME_DISABLED:
+case IME_DISABLING1:
+case IME_DISABLING2:
+	ime = IME_ENABLING1;
+	break;
+}
 
 ; Rotates and shifts