mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
Merge pull request #12401 from AdmiralCurtiss/feature-flag-fix
JitCommon: Fix feature_flags truncation in index calculation.
This commit is contained in:
commit
b4bfc4feba
1 changed files with 1 additions and 1 deletions
|
@ -507,7 +507,7 @@ size_t JitBaseBlockCache::FastLookupIndexForAddress(u32 address, u32 feature_fla
|
||||||
{
|
{
|
||||||
if (m_entry_points_ptr)
|
if (m_entry_points_ptr)
|
||||||
{
|
{
|
||||||
return (feature_flags << 30) | (address >> 2);
|
return (static_cast<size_t>(feature_flags) << 30) | (address >> 2);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue