mirror of
https://github.com/LNH-team/pico-launcher.git
synced 2026-06-02 09:06:54 +02:00
Change cheat implementation to show cheats in database order, fix some bugs
- AdvancedPaletteManager incorrectly handled negative y positions - FocusManager still had a pointer to a view that was destroyed in the cheats panel. After changing focus, memory got corrupted.
This commit is contained in:
@@ -13,8 +13,6 @@ public:
|
||||
pload_cheats_t* CreateCheatData(const std::unique_ptr<GameCheats>& gameCheats) const;
|
||||
|
||||
private:
|
||||
u32 GetCheatCategoryRequiredSize(const ICheatCategory* cheatCategory, u32& totalNumberOfCheats) const;
|
||||
u32 GetCheatRequiredSize(const Cheat* cheat) const;
|
||||
void GetCheatCategoryData(const ICheatCategory* cheatCategory, u8*& buffer) const;
|
||||
void GetCheatData(const Cheat* cheat, u8*& buffer) const;
|
||||
u32 GetCheatEntryRequiredSize(const CheatEntry* cheatEntry, u32& totalNumberOfCheats) const;
|
||||
void GetCheatEntryData(const CheatEntry* cheatEntry, u8*& buffer) const;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user