From 1a7552a1523bd8c19b8f5297c3d0a0cb45ba08e9 Mon Sep 17 00:00:00 2001 From: Ivan Vangelista Date: Wed, 23 Mar 2022 18:40:01 +0100 Subject: Software list items promoted to working --------------------------------------- SNK vs. Capcom - Card Fighters 2 - Expand Edition (Jpn) [dink] - tlcs900.cpp: fixed lcdf16, andcf16, orcf16 and xorcf16 opcodes [dink] --- hash/ngpc.xml | 2 +- src/devices/cpu/tlcs900/900tbl.hxx | 8 ++++---- src/devices/cpu/tlcs900/tlcs900.h | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/hash/ngpc.xml b/hash/ngpc.xml index 5b9230e9ad6..0cc3d30e485 100644 --- a/hash/ngpc.xml +++ b/hash/ngpc.xml @@ -1571,7 +1571,7 @@ NEOP00220 NeoGeo Cup '98 Plus (Euro) [confirmed?] - + SNK vs. Capcom - Card Fighters 2 - Expand Edition (Jpn) 2001 diff --git a/src/devices/cpu/tlcs900/900tbl.hxx b/src/devices/cpu/tlcs900/900tbl.hxx index 44099216fb9..bd2efa0b96d 100644 --- a/src/devices/cpu/tlcs900/900tbl.hxx +++ b/src/devices/cpu/tlcs900/900tbl.hxx @@ -644,7 +644,7 @@ void tlcs900_device::ldcf8( uint8_t a, uint8_t b ) } -void tlcs900_device::ldcf16( uint8_t a, uint8_t b ) +void tlcs900_device::ldcf16( uint8_t a, uint16_t b ) { if ( b & ( 1 << ( a & 0x0f ) ) ) m_sr.b.l |= FLAG_CF; @@ -662,7 +662,7 @@ void tlcs900_device::andcf8( uint8_t a, uint8_t b ) } -void tlcs900_device::andcf16( uint8_t a, uint8_t b ) +void tlcs900_device::andcf16( uint8_t a, uint16_t b ) { if ( ( b & ( 1 << ( a & 0x0f ) ) ) && ( m_sr.b.l & FLAG_CF ) ) m_sr.b.l |= FLAG_CF; @@ -678,7 +678,7 @@ void tlcs900_device::orcf8( uint8_t a, uint8_t b ) } -void tlcs900_device::orcf16( uint8_t a, uint8_t b ) +void tlcs900_device::orcf16( uint8_t a, uint16_t b ) { if ( b & ( 1 << ( a & 0x0f ) ) ) m_sr.b.l |= FLAG_CF; @@ -692,7 +692,7 @@ void tlcs900_device::xorcf8( uint8_t a, uint8_t b ) } -void tlcs900_device::xorcf16( uint8_t a, uint8_t b ) +void tlcs900_device::xorcf16( uint8_t a, uint16_t b ) { if ( b & ( 1 << ( a & 0x0f ) ) ) m_sr.b.l ^= FLAG_CF; diff --git a/src/devices/cpu/tlcs900/tlcs900.h b/src/devices/cpu/tlcs900/tlcs900.h index 4913ff1af98..f3b77d44622 100644 --- a/src/devices/cpu/tlcs900/tlcs900.h +++ b/src/devices/cpu/tlcs900/tlcs900.h @@ -222,13 +222,13 @@ protected: uint16_t xor16( uint16_t a, uint16_t b); uint32_t xor32( uint32_t a, uint32_t b); void ldcf8( uint8_t a, uint8_t b ); - void ldcf16( uint8_t a, uint8_t b ); + void ldcf16( uint8_t a, uint16_t b ); void andcf8( uint8_t a, uint8_t b ); - void andcf16( uint8_t a, uint8_t b ); + void andcf16( uint8_t a, uint16_t b ); void orcf8( uint8_t a, uint8_t b ); - void orcf16( uint8_t a, uint8_t b ); + void orcf16( uint8_t a, uint16_t b ); void xorcf8( uint8_t a, uint8_t b ); - void xorcf16( uint8_t a, uint8_t b ); + void xorcf16( uint8_t a, uint16_t b ); uint8_t rl8( uint8_t a, uint8_t s ); uint16_t rl16( uint16_t a, uint8_t s ); uint32_t rl32( uint32_t a, uint8_t s ); -- cgit v1.2.3