summaryrefslogtreecommitdiff
path: root/src/video_core/gpu_thread.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2019-04-01 17:59:43 -0400
committerGravatar Lioncash2019-04-01 17:59:45 -0400
commit2d70c30fb2628b4cc3a23b6fda34c2211085b905 (patch)
treef949f512154d4e282fc28deb03cd8df8b1ac738f /src/video_core/gpu_thread.cpp
parentkernel/thread: Make parameter of GetWaitObjectIndex() const qualified (diff)
downloadyuzu-2d70c30fb2628b4cc3a23b6fda34c2211085b905.tar.gz
yuzu-2d70c30fb2628b4cc3a23b6fda34c2211085b905.tar.xz
yuzu-2d70c30fb2628b4cc3a23b6fda34c2211085b905.zip
kernel/thread: Avoid sign conversion within GetCommandBufferAddress()
Previously this was performing a u64 + int sign conversion. When dealing with addresses, we should generally be keeping the arithmetic in the same signedness type. This also gets rid of the static lifetime of the constant, as there's no need to make a trivial type like this potentially live for the entire duration of the program.
Diffstat (limited to 'src/video_core/gpu_thread.cpp')
0 files changed, 0 insertions, 0 deletions