From 0eb1662a0eaf8eee680cab5b913fff3fcc9b8b2f Mon Sep 17 00:00:00 2001 From: Tannin Date: Mon, 5 May 2014 18:24:15 +0200 Subject: - very effective optimization to findfirstfile-calls - several configuration files are now only saved to disk if the content actually changed. This should also get rid of a problem where plugins.txt was re-written immediately after starting the game (causing a conflict with the game) - reduced "noise" from hook.dll - removed some debugging messages --- src/pluginlist.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/pluginlist.h') diff --git a/src/pluginlist.h b/src/pluginlist.h index 606d6c68..b7e7e2b4 100644 --- a/src/pluginlist.h +++ b/src/pluginlist.h @@ -29,6 +29,7 @@ along with Mod Organizer. If not, see . #include #include #include +#include #include "pdll.h" #include @@ -278,6 +279,7 @@ private: private: std::vector m_ESPs; + mutable std::map m_LastSaveHash; std::map m_ESPsByName; std::vector m_ESPsByPriority; -- cgit v1.3.1