From 08ab9c4b04ab28ef722f61d1896814c8f12921c4 Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Fri, 28 Feb 2020 00:16:04 +0300 Subject: [PATCH] fixed_typemap.hpp: reset creation index to avoid confusion --- rpcs3/util/fixed_typemap.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rpcs3/util/fixed_typemap.hpp b/rpcs3/util/fixed_typemap.hpp index a7749ea334..65b90f3161 100644 --- a/rpcs3/util/fixed_typemap.hpp +++ b/rpcs3/util/fixed_typemap.hpp @@ -161,6 +161,9 @@ namespace stx destroy_reporter(all_data[i].name, all_data[i].created); all_data[i].destroy(*all_data[i].object_pointer); } + + // Reset creation order since it now may be printed + m_init_count = 0; } // Default initialize all objects if possible and not already initialized