summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-07-16 17:56:37 +0200
committerLioncash <mathew1800@gmail.com>2019-07-19 03:03:31 +0200
commit1780e0e3d04fe7d8edd0b7b691198f31f23140ce (patch)
treebde2f135367207aacd6bc1960ad8a78e49c78d62 /src
parentvideo_core/control_flow: Remove unnecessary BlockStack copy constructor (diff)
downloadyuzu-1780e0e3d04fe7d8edd0b7b691198f31f23140ce.tar
yuzu-1780e0e3d04fe7d8edd0b7b691198f31f23140ce.tar.gz
yuzu-1780e0e3d04fe7d8edd0b7b691198f31f23140ce.tar.bz2
yuzu-1780e0e3d04fe7d8edd0b7b691198f31f23140ce.tar.lz
yuzu-1780e0e3d04fe7d8edd0b7b691198f31f23140ce.tar.xz
yuzu-1780e0e3d04fe7d8edd0b7b691198f31f23140ce.tar.zst
yuzu-1780e0e3d04fe7d8edd0b7b691198f31f23140ce.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/shader/control_flow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/control_flow.cpp b/src/video_core/shader/control_flow.cpp
index 37792d420..ec3a76690 100644
--- a/src/video_core/shader/control_flow.cpp
+++ b/src/video_core/shader/control_flow.cpp
@@ -84,7 +84,7 @@ std::pair<BlockCollision, u32> TryGetBlock(CFGRebuildState& state, u32 address)
return {BlockCollision::Inside, index};
}
}
- return {BlockCollision::None, -1};
+ return {BlockCollision::None, 0xFFFFFFFF};
}
struct ParseInfo {