Skip to content

Commit 5ea56e2

Browse files
committed
fix: IDDB change
1 parent fffea1e commit 5ea56e2

2 files changed

Lines changed: 8 additions & 11 deletions

File tree

src/OBSE/API.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ namespace OBSE
4646
std::call_once(once, [&]() {
4747
if (info.iddb) {
4848
const auto iddb = REL::IDDB::GetSingleton();
49-
iddb->load("OBSE/Plugins/versionlib-{}.bin"sv);
49+
iddb->load(L"OBSE/Plugins/versionlib-{}.bin"sv);
5050
}
5151

5252
if (const auto data = PluginVersionData::GetSingleton()) {

xmake.lua

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ add_rules("mode.debug", "mode.releasedbg")
1717
includes("xmake-rules.lua")
1818

1919
-- define options
20+
option("obse_xbyak", function()
21+
set_default(false)
22+
set_description("enable xbyak support for trampoline")
23+
add_defines("OBSE_SUPPORT_XBYAK=1")
24+
end)
25+
2026
option("rex_ini", function()
2127
set_default(false)
2228
set_description("enable ini config support for REX")
@@ -32,14 +38,8 @@ option("rex_toml", function()
3238
set_description("enable toml config support for REX")
3339
end)
3440

35-
option("obse_xbyak", function()
36-
set_default(false)
37-
set_description("enable xbyak support for trampoline")
38-
add_defines("OBSE_SUPPORT_XBYAK=1")
39-
end)
40-
4141
-- require packages
42-
add_requires("commonlib-shared 75981b8181925dc09fdda11ac86ff6f6425e634f", { configs = {
42+
add_requires("commonlib-shared e9e8619678cc166de00a9e96dc465b696f7bd831", { configs = {
4343
rex_ini = has_config("rex_ini"),
4444
rex_json = has_config("rex_json"),
4545
rex_toml = has_config("rex_toml"),
@@ -54,9 +54,6 @@ target("commonlibob64", function()
5454
-- set build by default
5555
set_default(os.scriptdir() == os.projectdir())
5656

57-
-- set build group
58-
set_group("commonlibob64")
59-
6057
-- add packages
6158
add_packages("commonlib-shared", { public = true })
6259

0 commit comments

Comments
 (0)