Home
last modified time | relevance | path

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

/dports/emulators/mess/mame-mame0226/src/mame/machine/
H A Dnamcoio.cpp194 int credit_add = 0; in handle_coins() local
210 credit_add = m_creds_per_coin[0] - (m_coins_per_cred[0] >> 3); in handle_coins()
214 credit_add = 1; in handle_coins()
221 credit_add = m_creds_per_coin[1] - (m_coins_per_cred[1] >> 3); in handle_coins()
225 credit_add = 1; in handle_coins()
229 credit_add = 1; in handle_coins()
250 m_credits += credit_add - credit_sub; in handle_coins()
256 if (credit_add) in handle_coins()
257 IORAM_WRITE(2 ^ swap, credit_add); // credit increment (coin inputs) in handle_coins()
/dports/emulators/mame/mame-mame0226/src/mame/machine/
H A Dnamcoio.cpp194 int credit_add = 0; in handle_coins() local
210 credit_add = m_creds_per_coin[0] - (m_coins_per_cred[0] >> 3); in handle_coins()
214 credit_add = 1; in handle_coins()
221 credit_add = m_creds_per_coin[1] - (m_coins_per_cred[1] >> 3); in handle_coins()
225 credit_add = 1; in handle_coins()
229 credit_add = 1; in handle_coins()
250 m_credits += credit_add - credit_sub; in handle_coins()
256 if (credit_add) in handle_coins()
257 IORAM_WRITE(2 ^ swap, credit_add); // credit increment (coin inputs) in handle_coins()
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/devices/
H A Dnamcoio.cpp204 int credit_add = 0; in handle_coins() local
220 credit_add = ptr->creds_per_coin[0] - (ptr->coins_per_cred[0] >> 3); in handle_coins()
224 credit_add = 1; in handle_coins()
231 credit_add = ptr->creds_per_coin[1] - (ptr->coins_per_cred[1] >> 3); in handle_coins()
235 credit_add = 1; in handle_coins()
239 credit_add = 1; in handle_coins()
260 ptr->credits += credit_add - credit_sub; in handle_coins()
264 IORAM_WRITE(2 ^ swap, credit_add); // credit increment (coin inputs) in handle_coins()
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/devices/
H A Dnamcoio.cpp204 int credit_add = 0; in handle_coins() local
220 credit_add = ptr->creds_per_coin[0] - (ptr->coins_per_cred[0] >> 3); in handle_coins()
224 credit_add = 1; in handle_coins()
231 credit_add = ptr->creds_per_coin[1] - (ptr->coins_per_cred[1] >> 3); in handle_coins()
235 credit_add = 1; in handle_coins()
239 credit_add = 1; in handle_coins()
260 ptr->credits += credit_add - credit_sub; in handle_coins()
264 IORAM_WRITE(2 ^ swap, credit_add); // credit increment (coin inputs) in handle_coins()
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/machine/
H A Dnamcoio_machine.c812 int credit_add = 0; in handle_coins() local
828 credit_add = io[chip].creds_per_coin[0] - (io[chip].coins_per_cred[0] >> 3); in handle_coins()
832 credit_add = 1; in handle_coins()
839 credit_add = io[chip].creds_per_coin[1] - (io[chip].coins_per_cred[1] >> 3); in handle_coins()
843 credit_add = 1; in handle_coins()
847 credit_add = 1; in handle_coins()
868 io[chip].credits += credit_add - credit_sub; in handle_coins()
872 IORAM_WRITE(2 ^ swap, credit_add); // credit increment (coin inputs) in handle_coins()