cfg_s.cpp 1.4 KB

123456789101112131415161718192021222324252627282930313233
  1. // Copyright 2015 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #include "core/hle/hle.h"
  5. #include "core/hle/service/cfg/cfg.h"
  6. #include "core/hle/service/cfg/cfg_s.h"
  7. namespace Service {
  8. namespace CFG {
  9. const Interface::FunctionInfo FunctionTable[] = {
  10. {0x00010082, GetConfigInfoBlk2, "GetConfigInfoBlk2"},
  11. {0x00020000, SecureInfoGetRegion, "SecureInfoGetRegion"},
  12. {0x00030040, GenHashConsoleUnique, "GenHashConsoleUnique"},
  13. {0x00050000, GetSystemModel, "GetSystemModel"},
  14. {0x04010082, GetConfigInfoBlk8, "GetConfigInfoBlk8"},
  15. {0x04020082, nullptr, "SetConfigInfoBlk4"},
  16. {0x04030000, UpdateConfigNANDSavegame, "UpdateConfigNANDSavegame"},
  17. {0x04040042, nullptr, "GetLocalFriendCodeSeedData"},
  18. {0x04050000, nullptr, "GetLocalFriendCodeSeed"},
  19. {0x04060000, nullptr, "SecureInfoGetRegion"},
  20. {0x04070000, nullptr, "SecureInfoGetByte101"},
  21. {0x04080042, nullptr, "SecureInfoGetSerialNo"},
  22. {0x04090000, nullptr, "UpdateConfigBlk00040003"},
  23. };
  24. CFG_S_Interface::CFG_S_Interface() {
  25. Register(FunctionTable);
  26. }
  27. } // namespace CFG
  28. } // namespace Service