score_saver: cache scores for speed, add clear counts (use_card only?), add "-PROTECTED-" message in protected mode

should probably replace a bunch of ints with UINTs to do less range checks, but meh lol
This commit is contained in:
somewhatlurker
2019-09-20 17:15:38 +10:00
parent 1430d71c4c
commit da92b62bcd
3 changed files with 150 additions and 44 deletions
@@ -95,6 +95,7 @@ constexpr uint64_t GAME_INFO_ADDRESS = 0x0000000141197E00;
constexpr uint64_t CURRENT_SONG_NAME_ADDRESS = 0x0000000140D0A578;
constexpr uint64_t CURRENT_SONG_ID_ADDRESS = 0x0000000140CDD8E0;
constexpr uint64_t SELPV_CURRENT_SONG_ADDRESS = 0x000000014CC12438;
constexpr uint64_t SONG_CLEAR_COUNTS_ADDRESS = 0x00000001411A95E8;
#define XINPUT_A 0x00
#define XINPUT_B 0x01