diff options
| author | Sketch <75850871+SketchMaster2001@users.noreply.github.com> | 2023-09-03 15:56:02 -0400 |
|---|---|---|
| committer | Sketch <75850871+SketchMaster2001@users.noreply.github.com> | 2023-09-03 15:56:02 -0400 |
| commit | fdaa82f96ddfe7818207cc3930e683fe8ddff1bc (patch) | |
| tree | 3d34bab059e5c7c35e79bdfabc56dad4fe587d87 /Source/Core | |
| parent | 32f4f3ae7cf7b7cd007a852faf91e4a34f6b1b94 (diff) | |
Add Everybody Votes Channel and Region Select to WiiLink config
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/CommonTitles.h | 6 | ||||
| -rw-r--r-- | Source/Core/Core/WC24PatchEngine.cpp | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/Source/Core/Core/CommonTitles.h b/Source/Core/Core/CommonTitles.h index 50c8b4d742..a6043c7cd6 100644 --- a/Source/Core/Core/CommonTitles.h +++ b/Source/Core/Core/CommonTitles.h @@ -39,6 +39,12 @@ constexpr u64 EVERYBODY_VOTES_CHANNEL_NTSC_J = 0x0001000148414a4a; constexpr u64 EVERYBODY_VOTES_CHANNEL_PAL = 0x0001000148414a50; +constexpr u64 REGION_SELECT_CHANNEL_NTSC_U = 0x0001000848414c45; + +constexpr u64 REGION_SELECT_CHANNEL_NTSC_J = 0x0001000848414c4a; + +constexpr u64 REGION_SELECT_CHANNEL_PAL = 0x0001000848414c50; + constexpr u64 IOS(u32 major_version) { return 0x0000000100000000 | major_version; diff --git a/Source/Core/Core/WC24PatchEngine.cpp b/Source/Core/Core/WC24PatchEngine.cpp index b5092a7feb..aa62ac7580 100644 --- a/Source/Core/Core/WC24PatchEngine.cpp +++ b/Source/Core/Core/WC24PatchEngine.cpp @@ -18,8 +18,7 @@ namespace WC24PatchEngine { -static std::array<u64, 12> s_wc24_channels{ - // Nintendo Channel +static constexpr std::array<u64, 15> s_wc24_channels{ Titles::NINTENDO_CHANNEL_NTSC_U, Titles::NINTENDO_CHANNEL_NTSC_J, Titles::NINTENDO_CHANNEL_PAL, @@ -32,6 +31,9 @@ static std::array<u64, 12> s_wc24_channels{ Titles::EVERYBODY_VOTES_CHANNEL_NTSC_U, Titles::EVERYBODY_VOTES_CHANNEL_NTSC_J, Titles::EVERYBODY_VOTES_CHANNEL_PAL, + Titles::REGION_SELECT_CHANNEL_NTSC_U, + Titles::REGION_SELECT_CHANNEL_NTSC_J, + Titles::REGION_SELECT_CHANNEL_PAL, }; static std::vector<NetworkPatch> s_patches; |
