mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
sega/sega_beena.cpp: TV Ocha-Ken cards are swiped through the scanner - can't swipe an absent card.
This commit is contained in:
parent
f35442bd36
commit
3ec94b65ab
@ -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;
|
||||
|
@ -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.
|
||||
|
||||
*******************************************************************************/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user