mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-01-15 11:27:54 +03:00
Start transition cache lookup with most recent one
This commit is contained in:
parent
62c86b7690
commit
ac85df7b7a
@ -609,8 +609,10 @@ namespace skyline::gpu::interconnect::maxwell3d {
|
|||||||
return false;
|
return false;
|
||||||
})};
|
})};
|
||||||
|
|
||||||
if (it != transitionCache.end())
|
if (it != transitionCache.end()) {
|
||||||
return *it;
|
std::swap(*it, *transitionCache.begin());
|
||||||
|
return *transitionCache.begin();
|
||||||
|
}
|
||||||
|
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user