diff options
| author | 2013-12-23 03:42:04 +0000 | |
|---|---|---|
| committer | 2013-12-23 03:42:04 +0000 | |
| commit | 7890f33ad3526281bc6902bbcf022f9f7e12246a (patch) | |
| tree | f9ca5a353f5e181e297eef65ee97951df12a9cee | |
| parent | d64a876424fc510348689654843966bdbbe90232 (diff) | |
movbi_mi second parameter is 8 bit signed & MSVC complains that 0xff is truncated unless you explicitly cast it. (nw)
| -rw-r--r-- | src/emu/cpu/i8089/i8089_channel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/cpu/i8089/i8089_channel.c b/src/emu/cpu/i8089/i8089_channel.c index 31779865425..3d968f30660 100644 --- a/src/emu/cpu/i8089/i8089_channel.c +++ b/src/emu/cpu/i8089/i8089_channel.c @@ -698,7 +698,7 @@ void i8089_channel::attention() lpd(PP, CP, m_r[CP].w + 2); movp_pm(TP, PP, m_r[PP].w); - movbi_mi(CP, 0xff, 1); + movbi_mi(CP, (INT8) 0xff, 1); m_r[TP].t = 1; m_r[PSW].w |= 1 << 2; @@ -728,7 +728,7 @@ void i8089_channel::attention() lpd(PP, CP, m_r[CP].w + 2); lpd(TP, PP, m_r[PP].w); - movbi_mi(CP, 0xff, 1); + movbi_mi(CP, (INT8) 0xff, 1); m_r[PSW].w |= 1 << 2; @@ -755,7 +755,7 @@ void i8089_channel::attention() // restore task pointer and parameter block movp_pm(TP, PP, m_r[PP].w); movb_rm(PSW, PP, m_r[PP].w + 3); - movbi_mi(CP, 0xff, m_r[CP].w + 1); + movbi_mi(CP, (INT8) 0xff, m_r[CP].w + 1); m_r[PSW].w |= 1 << 2; |
