diff --git a/app/src/main/cpp/skyline/gpu/interconnect/maxwell_3d/pipeline_manager.cpp b/app/src/main/cpp/skyline/gpu/interconnect/maxwell_3d/pipeline_manager.cpp index 418e1456..2daf4a26 100644 --- a/app/src/main/cpp/skyline/gpu/interconnect/maxwell_3d/pipeline_manager.cpp +++ b/app/src/main/cpp/skyline/gpu/interconnect/maxwell_3d/pipeline_manager.cpp @@ -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; }