Skip to content

Commit

Permalink
Reimplement patch for split lamps on certain folders
Browse files Browse the repository at this point in the history
  • Loading branch information
aixxe committed Oct 18, 2024
1 parent 113d10b commit 0d45524
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
1 change: 1 addition & 0 deletions src/init.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);

//
Expand Down
1 change: 1 addition & 0 deletions src/offsets.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions src/offsets/2024082600-010.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions src/offsets/2024082600-012.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0d45524

Please sign in to comment.