Previous 15994 Revisions Next

r15804 Wednesday 8th August, 2012 at 11:27:34 UTC by Miodrag Milanović
Some VS code analysis warnings fixed (no whatsnew)
[src/mess/machine]3c503.c micropolis.c rmnimbus.c

src/mess/machine/3c503.c
r15803r15804
4242   // TODO: This is wrong, fix if anything actually uses it
4343   //  DMA can change in runtime
4444   int chan = 0, idcfr = m_regs.idcfr & 0x0f;
45   if((m_regs.streg | 0x08)) {
45   if((m_regs.streg & 0x08)) {
4646      while(idcfr) {
4747         chan++;
4848         idcfr >>= 1;
src/mess/machine/micropolis.c
r15803r15804
180180READ8_DEVICE_HANDLER( micropolis_status_r )
181181{
182182   micropolis_state *w = get_safe_token(device);
183   static bool inv = 0;
183   static int inv = 0;
184184
185185   if (offset)
186186      return w->status | w->drive_num;
src/mess/machine/rmnimbus.c
r15803r15804
29472947    {
29482948        state->m_reg0a4 &= 0xF0;
29492949        state->m_reg0a4 |= ( mxb & 0x01) << 3; // XB
2950        state->m_reg0a4 |= (!mxb & 0x01) << 2; // XA
2951        state->m_reg0a4 |= (!myb & 0x01) << 1; // YA
2950        state->m_reg0a4 |= (~mxb & 0x01) << 2; // XA
2951        state->m_reg0a4 |= (~myb & 0x01) << 1; // YA
29522952        state->m_reg0a4 |= ( myb & 0x01) << 0; // YB
29532953    }
29542954

Previous 15994 Revisions Next


© 1998-2018 The MESS Team