Home
last modified time | relevance | path

Searched refs:credit_sub (Results 1 – 5 of 5) sorted by relevance

/dports/emulators/mess/mame-mame0226/src/mame/machine/
H A Dnamcoio.cpp195 int credit_sub = 0; in handle_coins() local
242 if (m_credits >= 1) credit_sub = 1; in handle_coins()
246 if (m_credits >= 2) credit_sub = 2; in handle_coins()
250 m_credits += credit_add - credit_sub; in handle_coins()
258 if (credit_sub) in handle_coins()
259 IORAM_WRITE(3 ^ swap, credit_sub); // credit decrement (start buttons) in handle_coins()
/dports/emulators/mame/mame-mame0226/src/mame/machine/
H A Dnamcoio.cpp195 int credit_sub = 0; in handle_coins() local
242 if (m_credits >= 1) credit_sub = 1; in handle_coins()
246 if (m_credits >= 2) credit_sub = 2; in handle_coins()
250 m_credits += credit_add - credit_sub; in handle_coins()
258 if (credit_sub) in handle_coins()
259 IORAM_WRITE(3 ^ swap, credit_sub); // credit decrement (start buttons) in handle_coins()
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/devices/
H A Dnamcoio.cpp205 int credit_sub = 0; in handle_coins() local
252 if (ptr->credits >= 1) credit_sub = 1; in handle_coins()
256 if (ptr->credits >= 2) credit_sub = 2; in handle_coins()
260 ptr->credits += credit_add - credit_sub; in handle_coins()
265 IORAM_WRITE(3 ^ swap, credit_sub); // credit decrement (start buttons) in handle_coins()
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/devices/
H A Dnamcoio.cpp205 int credit_sub = 0; in handle_coins() local
252 if (ptr->credits >= 1) credit_sub = 1; in handle_coins()
256 if (ptr->credits >= 2) credit_sub = 2; in handle_coins()
260 ptr->credits += credit_add - credit_sub; in handle_coins()
265 IORAM_WRITE(3 ^ swap, credit_sub); // credit decrement (start buttons) in handle_coins()
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/machine/
H A Dnamcoio_machine.c813 int credit_sub = 0; in handle_coins() local
860 if (io[chip].credits >= 1) credit_sub = 1; in handle_coins()
864 if (io[chip].credits >= 2) credit_sub = 2; in handle_coins()
868 io[chip].credits += credit_add - credit_sub; in handle_coins()
873 IORAM_WRITE(3 ^ swap, credit_sub); // credit decrement (start buttons) in handle_coins()