diff options
author | 2022-07-02 21:19:34 +0200 | |
---|---|---|
committer | 2022-07-02 21:19:49 +0200 | |
commit | aa1561999c1cd6b4070651d92b349b4d3c26e8a8 (patch) | |
tree | 31fcc6baad2fb62fed63cfff95821ed41c5344e2 /src/devices/cpu/dsp56156 | |
parent | 76d01de2becc145c926b6f682497d5c7aaf236c7 (diff) |
plygonet: still got a lockup at quantum 600
Diffstat (limited to 'src/devices/cpu/dsp56156')
-rw-r--r-- | src/devices/cpu/dsp56156/dsp56ops.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/cpu/dsp56156/dsp56ops.hxx b/src/devices/cpu/dsp56156/dsp56ops.hxx index c6d1e3ac74d..f9b37955d7c 100644 --- a/src/devices/cpu/dsp56156/dsp56ops.hxx +++ b/src/devices/cpu/dsp56156/dsp56ops.hxx @@ -5662,11 +5662,11 @@ static bool dsp56156_value_is_unnormalized(dsp56156_core* cpustate, const uint64 static bool dsp56156_value_is_extended(dsp56156_core* cpustate, const uint64_t value) { uint16_t S = (cpustate->PCU.sr >> 10) & 3; - uint64_t extMask = 0x000000ffc0000000; + uint64_t extMask = 0x000000ffc0000000ULL; if (S == 0 || S == 3) - extMask = 0x000000ff80000000; + extMask = 0x000000ff80000000ULL; else if (S == 1) - extMask = 0x000000ff00000000; + extMask = 0x000000ff00000000ULL; uint64_t extVal = value & extMask; return extVal == extMask || extVal == 0; } |