Skip to content

Commit

Permalink
Update PLA for 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zaksabeast committed Feb 28, 2022
1 parent 6b84ef9 commit 11e735d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions libs/csight-core/src/arceus/offsets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use num_enum::IntoPrimitive;
#[derive(Clone, Copy, Debug, PartialEq, IntoPrimitive)]
#[repr(u64)]
pub enum Offset {
PlayerSingleton = 0x4269000,
BattleSingleton = 0x4268f00,
SpawnSingleton = 0x4268ee0,
PlayerSingleton = 0x42a7000,
BattleSingleton = 0x42a6f00,
SpawnSingleton = 0x42a6ee0,
}
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class MainOverlay : public tsl::Overlay {
std::array<u8, 8> supported_pearl_build_id = { 0xD7, 0x52, 0x46, 0xEC, 0x33, 0xC2, 0xF6, 0x4B };
tryGameWithBuildId(MainBdSpView, SupportedGame::ShiningPearl, supported_pearl_build_id);

std::array<u8, 8> supported_arceus_build_id = { 0xBE, 0xF2, 0x91, 0xF2, 0x63, 0x9F, 0x7A, 0xFE };
std::array<u8, 8> supported_arceus_build_id = { 0x66, 0xF1, 0x5C, 0x28, 0x1E, 0xFA, 0x7A, 0xDD };
tryGameWithBuildId(MainArceusView, SupportedGame::Arceus, supported_arceus_build_id);

return initially<ErrorView>("Unsupported game!\n\nTitle Id:\n" + utils::num_to_hex(title_id));
Expand Down

0 comments on commit 11e735d

Please sign in to comment.