diff --git a/src/mame/sega/sega_beena.cpp b/src/mame/sega/sega_beena.cpp index 64cfbdf4cd1..7b47309cc6e 100644 --- a/src/mame/sega/sega_beena.cpp +++ b/src/mame/sega/sega_beena.cpp @@ -2119,7 +2119,7 @@ uint32_t tvochken_state::io_expansion_r() void tvochken_state::scan_card(int state) { - if (state && (m_card_state == IDLE)) { + if (m_card->exists() && state && (m_card_state == IDLE)) { m_card_data = m_card->barcode(); m_card_hold_i = 10; m_card_state = START_WRITE_DATA; diff --git a/src/mame/sega/tvochken_card.cpp b/src/mame/sega/tvochken_card.cpp index b0393690586..4895055ec9b 100644 --- a/src/mame/sega/tvochken_card.cpp +++ b/src/mame/sega/tvochken_card.cpp @@ -9,7 +9,6 @@ TODO: * Decode barcode from the scan so it doesn't need to be in a software part feature and loose files can be supported. - * Determine correct barcode value to return when no card is inserted. *******************************************************************************/