[Kernel] Fix GpdFile missing default constructor & init dash with proper ID
This commit is contained in:
parent
fa2cd63b1f
commit
8f5a82b444
|
@ -350,6 +350,7 @@ class SpaFile : public XdbfFile {
|
|||
|
||||
class GpdFile : public XdbfFile {
|
||||
public:
|
||||
GpdFile() : title_id_(-1) {}
|
||||
GpdFile(uint32_t title_id) : title_id_(title_id) {}
|
||||
|
||||
bool GetAchievement(uint16_t id, XdbfAchievement* dest);
|
||||
|
|
|
@ -29,7 +29,7 @@ DEFINE_string(profile_directory, "Content\\Profile\\",
|
|||
|
||||
constexpr uint32_t kDashboardID = 0xFFFE07D1;
|
||||
|
||||
UserProfile::UserProfile() {
|
||||
UserProfile::UserProfile() : dash_gpd_(kDashboardID) {
|
||||
xuid_ = 0xBABEBABEBABEBABE;
|
||||
name_ = "User";
|
||||
|
||||
|
|
Loading…
Reference in New Issue