mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-25 21:14:20 +01: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;
|
||||
})};
|
||||
|
||||
if (it != transitionCache.end())
|
||||
return *it;
|
||||
if (it != transitionCache.end()) {
|
||||
std::swap(*it, *transitionCache.begin());
|
||||
return *transitionCache.begin();
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user