diff options
author | Weiyi Wang <wwylele@gmail.com> | 2018-11-10 23:41:30 -0500 |
---|---|---|
committer | fearlessTobi <thm.frey@gmail.com> | 2018-11-16 15:49:57 +0100 |
commit | 786995a81e999617e426b5ea5b867cabb2ee6ec3 (patch) | |
tree | d204320d2b720f7252026665096defc95976de8a /src/core/hle/kernel/kernel.cpp | |
parent | d104478f1bdae4d66043306042c7bf5620ff47ef (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