mirror of
https://github.com/Takiiiiiiii/strato.git
synced 2025-07-17 08:46:39 +00:00
Start transition cache lookup with most recent one
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user