Previous 199869 Revisions Next

r33357 Wednesday 12th November, 2014 at 17:48:43 UTC by Fabio Priuli
fixed compiling with old Apple GCC (hs and hl are unsigned int, and therefore cannot be < 0). nw.
[src/emu/cpu/rsp]rspdrc.c

trunk/src/emu/cpu/rsp/rspdrc.c
r241868r241869
48234823      {
48244824         hs = 255;
48254825      }
4826      else if (hs < 0)
4826      /*else if (hs < 0)
48274827      {
48284828         hs = 0;
4829      }
4829      }*/
48304830
48314831      ls >>= EL;
48324832      if (ls > 255)
48334833      {
48344834         ls = 255;
48354835      }
4836      else if (ls < 0)
4836      /*else if (ls < 0)
48374837      {
48384838         ls = 0;
4839      }
4839      }*/
48404840
48414841      vres[i] = 0; // VD writeback disabled on production hardware
48424842      // vres[i] = (hs << 8) | ls;


Previous 199869 Revisions Next


© 1997-2024 The MAME Team