mirror of
https://github.com/yuzu-emu/yuzu-mainline
synced 2024-11-23 15:54:03 +00:00
video_core/control_flow: Prevent sign conversion in TryGetBlock()
The return value is a u32, not an s32, so this would result in an implicit signedness conversion.
This commit is contained in:
parent
a162a844d2
commit
1780e0e3d0
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue