Searched refs:credit_add (Results 1 – 5 of 5) sorted by relevance
194 int credit_add = 0; in handle_coins() local210 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()
204 int credit_add = 0; in handle_coins() local220 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()
812 int credit_add = 0; in handle_coins() local828 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()