diff options
author | 2020-11-14 18:42:37 +0100 | |
---|---|---|
committer | 2020-11-14 18:42:53 +0100 | |
commit | ce99e12e4afafe74929bef2a0f37e5912c5df523 (patch) | |
tree | a3f7531bc537373745d00e4a4dbd5ee3670a3587 | |
parent | 292025b227a499835d05b9cee71a13db32817abc (diff) |
tlcs90: add missing break;
-rw-r--r-- | src/devices/cpu/tlcs90/tlcs90.cpp | 3 | ||||
-rw-r--r-- | src/devices/cpu/tlcs90/tlcs90d.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/devices/cpu/tlcs90/tlcs90.cpp b/src/devices/cpu/tlcs90/tlcs90.cpp index c86353a5ac3..bd02b9cc197 100644 --- a/src/devices/cpu/tlcs90/tlcs90.cpp +++ b/src/devices/cpu/tlcs90/tlcs90.cpp @@ -1022,7 +1022,7 @@ void tlcs90_device::decode() if (b0 == 0xfe) { OPCC( LDI+b1-0x58,14,18 ) NONE( 1 ) NONE( 2 ) return; } - return; + break; case 0x60: // ADD A,g case 0x61: // ADC A,g @@ -1078,6 +1078,7 @@ void tlcs90_device::decode() if (b0 == 0xfe) { OPCC( RET,6,14 ) CC( 1, b1 - 0xd0 ) NONE( 2 ) return; // RET cc } + break; } break; case 0xff: diff --git a/src/devices/cpu/tlcs90/tlcs90d.cpp b/src/devices/cpu/tlcs90/tlcs90d.cpp index c4ddbb03ccf..8f850d4c486 100644 --- a/src/devices/cpu/tlcs90/tlcs90d.cpp +++ b/src/devices/cpu/tlcs90/tlcs90d.cpp @@ -877,7 +877,7 @@ void tlcs90_disassembler::decode() if (b0 == 0xfe) { OPCC( LDI+b1-0x58,14,18 ) NONE( 1 ) NONE( 2 ) return; } - return; + break; case 0x60: // ADD A,g case 0x61: // ADC A,g @@ -933,6 +933,7 @@ void tlcs90_disassembler::decode() if (b0 == 0xfe) { OPCC( RET,6,14 ) CC( 1, b1 - 0xd0 ) NONE( 2 ) return; // RET cc } + break; } break; case 0xff: |