aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.cpp
diff options
context:
space:
mode:
authorWeiyi Wang <wwylele@gmail.com>2018-11-10 23:41:30 -0500
committerfearlessTobi <thm.frey@gmail.com>2018-11-16 15:49:57 +0100
commit786995a81e999617e426b5ea5b867cabb2ee6ec3 (patch)
treed204320d2b720f7252026665096defc95976de8a /src/core/hle/kernel/kernel.cpp
parentd104478f1bdae4d66043306042c7bf5620ff47ef (diff)
Common/Bitfield: store value as unsigned type
Storing signed type causes the following behaviour: extractValue can do overflow/negative left shift. Now it only relies on two implementation-defined behaviours (which are almost always defined as we want): unsigned->signed conversion and signed right shift
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
0 files changed, 0 insertions, 0 deletions