Searched refs:credit_sub (Results 1 – 5 of 5) sorted by relevance
195 int credit_sub = 0; in handle_coins() local242 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()
205 int credit_sub = 0; in handle_coins() local252 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()
813 int credit_sub = 0; in handle_coins() local860 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()