| 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 |
| r241868 | r241869 | |
|---|---|---|
| 4823 | 4823 | { |
| 4824 | 4824 | hs = 255; |
| 4825 | 4825 | } |
| 4826 | else if (hs < 0) | |
| 4826 | /*else if (hs < 0) | |
| 4827 | 4827 | { |
| 4828 | 4828 | hs = 0; |
| 4829 | } | |
| 4829 | }*/ | |
| 4830 | 4830 | |
| 4831 | 4831 | ls >>= EL; |
| 4832 | 4832 | if (ls > 255) |
| 4833 | 4833 | { |
| 4834 | 4834 | ls = 255; |
| 4835 | 4835 | } |
| 4836 | else if (ls < 0) | |
| 4836 | /*else if (ls < 0) | |
| 4837 | 4837 | { |
| 4838 | 4838 | ls = 0; |
| 4839 | } | |
| 4839 | }*/ | |
| 4840 | 4840 | |
| 4841 | 4841 | vres[i] = 0; // VD writeback disabled on production hardware |
| 4842 | 4842 | // vres[i] = (hs << 8) | ls; |
| https://github.com/mamedev/mame/commit/1a7d44a8614918d8c9d40db42dab080716b6c4dd |
| Previous | 199869 Revisions | Next |