SkylanderPortal: Make protected variables private

SkylanderPortal is final, so having member variables be protected
instead of private is just misleading.
This commit is contained in:
Dentomologist 2023-10-22 11:55:31 -07:00
parent 60e3b4c093
commit 3ba5cd30ff
1 changed files with 4 additions and 5 deletions

View File

@ -145,7 +145,10 @@ public:
u8 LoadSkylander(u8* buf, File::IOFile in_file);
std::pair<u16, u16> CalculateIDs(const std::array<u8, 0x40 * 0x10>& file_data);
protected:
private:
static bool IsSkylanderNumberValid(u8 sky_num);
static bool IsBlockNumberValid(u8 block);
std::mutex sky_mutex;
bool m_activated = true;
@ -156,10 +159,6 @@ protected:
SkylanderLEDColor m_color_trap = {};
std::array<Skylander, MAX_SKYLANDERS> skylanders;
private:
static bool IsSkylanderNumberValid(u8 sky_num);
static bool IsBlockNumberValid(u8 block);
};
} // namespace IOS::HLE::USB