diff --git a/CMakeLists.txt b/CMakeLists.txt index 5838356..84fabef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.24) -project(playlister3 VERSION 4.0.0.0 LANGUAGES CXX) +project(playlister3 VERSION 4.0.1.0 LANGUAGES CXX) include(cmake/get_cpm.cmake) include(cmake/GetGitRevisionDescription.cmake) diff --git a/src/init.cc b/src/init.cc index dc1e62b..0b74b58 100644 --- a/src/init.cc +++ b/src/init.cc @@ -499,6 +499,7 @@ namespace playlister playlist_mode_patches.emplace_back(addr.BAR_CUSTOM_TEXT_PATCH, 0xEB, 0x11, 0x90, 0x90, 0x90, 0x90); playlist_mode_patches.emplace_back(addr.BAR_CONTEST_LAMP_PATCH, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90); playlist_mode_patches.emplace_back(addr.BAR_BATTLE_LAMP_PATCH, 0x31, 0xC0); + playlist_mode_patches.emplace_back(addr.BAR_SPLIT_LAMP_PATCH, 0x31, 0xC0); playlist_mode_patches.emplace_back(addr.RANDOM_SPLIT_LAMP_PATCH, 0x31, 0xC0); // diff --git a/src/offsets.h.in b/src/offsets.h.in index 0ee789c..ca9c173 100644 --- a/src/offsets.h.in +++ b/src/offsets.h.in @@ -33,6 +33,7 @@ struct offsets std::uint8_t* BAR_TOURISM_BADGE_PATCH; std::uint8_t* BAR_CONTEST_LAMP_PATCH; std::uint8_t* BAR_BATTLE_LAMP_PATCH; + std::uint8_t* BAR_SPLIT_LAMP_PATCH; std::uint8_t* RANDOM_SPLIT_LAMP_PATCH; std::uint8_t* SCORES_P1; diff --git a/src/offsets/2024082600-010.cc b/src/offsets/2024082600-010.cc index 479b31c..dedf0c2 100644 --- a/src/offsets/2024082600-010.cc +++ b/src/offsets/2024082600-010.cc @@ -30,6 +30,7 @@ versions.push_back({ .BAR_TOURISM_BADGE_PATCH = base + 0x05B3B81, .BAR_CONTEST_LAMP_PATCH = base + 0x05B3D07, .BAR_BATTLE_LAMP_PATCH = base + 0x05B3DFB, + .BAR_SPLIT_LAMP_PATCH = base + 0x05B539D, .RANDOM_SPLIT_LAMP_PATCH = base + 0x05B713E, .SCORES_P1 = base + 0x2C3D084, diff --git a/src/offsets/2024082600-012.cc b/src/offsets/2024082600-012.cc index 272a6e5..d644439 100644 --- a/src/offsets/2024082600-012.cc +++ b/src/offsets/2024082600-012.cc @@ -30,6 +30,7 @@ versions.push_back({ .BAR_TOURISM_BADGE_PATCH = base + 0x04E6391, .BAR_CONTEST_LAMP_PATCH = base + 0x04E6517, .BAR_BATTLE_LAMP_PATCH = base + 0x04E660B, + .BAR_SPLIT_LAMP_PATCH = base + 0x04E7BAD, .RANDOM_SPLIT_LAMP_PATCH = base + 0x04E994E, .SCORES_P1 = base + 0x2B3C084,