Use up-to-date controller list in profile manager

This commit is contained in:
Adam Honse 2020-12-02 21:53:14 -06:00
parent 7a305b1440
commit 3f7c981ba2
3 changed files with 13 additions and 6 deletions

View file

@ -50,7 +50,7 @@ ResourceManager::ResourceManager()
/*-------------------------------------------------------------------------*\
| Load sizes list from file |
\*-------------------------------------------------------------------------*/
profile_manager = new ProfileManager(rgb_controllers, GetConfigurationDirectory());
profile_manager = new ProfileManager(GetConfigurationDirectory());
rgb_controllers_sizes = profile_manager->LoadProfileToList("sizes.ors");
/*-------------------------------------------------------------------------*\