Load game config on game load

This commit is contained in:
Jonathan Goyvaerts 2019-04-17 21:49:58 +02:00
parent d12871b8b4
commit 67cc8b7316
1 changed files with 1 additions and 0 deletions

View File

@ -648,6 +648,7 @@ X_STATUS Emulator::CompleteLaunch(const std::wstring& path,
if (module->title_id()) { if (module->title_id()) {
char title_id[9] = {0}; char title_id[9] = {0};
std::snprintf(title_id, xe::countof(title_id), "%08X", module->title_id()); std::snprintf(title_id, xe::countof(title_id), "%08X", module->title_id());
config::LoadGameConfig(xe::to_wstring(title_id));
uint32_t resource_data = 0; uint32_t resource_data = 0;
uint32_t resource_size = 0; uint32_t resource_size = 0;
if (XSUCCEEDED( if (XSUCCEEDED(