mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01:00
Merge pull request #12251 from Dentomologist/skylanderportal_make_protected_variables_private
SkylanderPortal: Make protected variables private
This commit is contained in:
commit
6bac012001
@ -145,7 +145,10 @@ public:
|
|||||||
u8 LoadSkylander(u8* buf, File::IOFile in_file);
|
u8 LoadSkylander(u8* buf, File::IOFile in_file);
|
||||||
std::pair<u16, u16> CalculateIDs(const std::array<u8, 0x40 * 0x10>& file_data);
|
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;
|
std::mutex sky_mutex;
|
||||||
|
|
||||||
bool m_activated = true;
|
bool m_activated = true;
|
||||||
@ -156,10 +159,6 @@ protected:
|
|||||||
SkylanderLEDColor m_color_trap = {};
|
SkylanderLEDColor m_color_trap = {};
|
||||||
|
|
||||||
std::array<Skylander, MAX_SKYLANDERS> skylanders;
|
std::array<Skylander, MAX_SKYLANDERS> skylanders;
|
||||||
|
|
||||||
private:
|
|
||||||
static bool IsSkylanderNumberValid(u8 sky_num);
|
|
||||||
static bool IsBlockNumberValid(u8 block);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace IOS::HLE::USB
|
} // namespace IOS::HLE::USB
|
||||||
|
Loading…
x
Reference in New Issue
Block a user