File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -42,15 +42,16 @@ namespace OBSE
4242 {
4343 info = a_info;
4444
45- REL::Module::set_info (L" OBSE_RUNTIME" sv, L" OblivionRemastered-Win64-Shipping.exe" sv);
46- (void )REL::Module::get ();
47- if (info.iddb ) {
48- REL::IDDB::set_info (" OBSE/Plugins/versionlib-{}.bin" sv);
49- (void )REL::IDDB::get ();
50- }
51-
5245 static std::once_flag once;
5346 std::call_once (once, [&]() {
47+ const auto mod = REL::Module::GetSingleton ();
48+ mod->load (L" OblivionRemastered-Win64-Shipping.exe" sv, L" OBSE_RUNTIME" sv);
49+
50+ if (info.iddb ) {
51+ const auto iddb = REL::IDDB::GetSingleton ();
52+ iddb->load (" OBSE/Plugins/versionlib-{}.bin" sv);
53+ }
54+
5455 if (const auto data = PluginVersionData::GetSingleton ()) {
5556 pluginName = data->GetPluginName ();
5657 pluginAuthor = data->GetAuthorName ();
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ option("obse_xbyak", function()
3939end )
4040
4141-- require packages
42- add_requires (" commonlib-shared" , { configs = {
42+ add_requires (" commonlib-shared d72a3d06def7cbcb960c5a15db0e7c4fceb36463 " , { configs = {
4343 rex_ini = has_config (" rex_ini" ),
4444 rex_json = has_config (" rex_json" ),
4545 rex_toml = has_config (" rex_toml" ),
You can’t perform that action at this time.
0 commit comments