making happy old OSX compiler... nw

This commit is contained in:
Fabio Priuli 2013-01-30 13:43:34 +00:00
parent b4945eac9e
commit c5081bd969

View File

@ -856,7 +856,7 @@ UINT8 saturn_state::smpc_th_control_mode(UINT8 pad_n)
{
int th;
const char *const padnames[] = { "JOY1", "JOY2" };
UINT8 res;
UINT8 res = 0;
th = (pad_n == 0) ? ((m_smpc.PDR1>>6) & 1) : ((m_smpc.PDR2>>6) & 1);