Explorar el Código

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 hace 8 años
padre
commit
50e2777724
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  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: