Просмотр исходного кода

HLE/ACC: Change the default user id to be consistent with what we tell games on startup.

In IApplicationFunctions::PopLaunchParameter we tell the games that they were launched as user id 1.
Subv 8 лет назад
Родитель
Сommit
50e2777724
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      src/core/hle/service/acc/acc.cpp

+ 1 - 2
src/core/hle/service/acc/acc.cpp

@@ -30,8 +30,7 @@ struct ProfileBase {
 };
 static_assert(sizeof(ProfileBase) == 0x38, "ProfileBase structure has incorrect size");
 
-using Uid = std::array<u64, 2>;
-static constexpr Uid DEFAULT_USER_ID{0x10ull, 0x20ull};
+static constexpr u128 DEFAULT_USER_ID{1ull, 0ull};
 
 class IProfile final : public ServiceFramework<IProfile> {
 public: