cfg_i.cpp 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. // Copyright 2014 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #include "core/hle/service/cfg/cfg.h"
  5. #include "core/hle/service/cfg/cfg_i.h"
  6. namespace Service {
  7. namespace CFG {
  8. const Interface::FunctionInfo FunctionTable[] = {
  9. // cfg common
  10. {0x00010082, GetConfigInfoBlk2, "GetConfigInfoBlk2"},
  11. {0x00020000, SecureInfoGetRegion, "SecureInfoGetRegion"},
  12. {0x00030040, GenHashConsoleUnique, "GenHashConsoleUnique"},
  13. {0x00040000, GetRegionCanadaUSA, "GetRegionCanadaUSA"},
  14. {0x00050000, GetSystemModel, "GetSystemModel"},
  15. {0x00060000, GetModelNintendo2DS, "GetModelNintendo2DS"},
  16. {0x00070040, nullptr, "WriteToFirstByteCfgSavegame"},
  17. {0x00080080, nullptr, "GoThroughTable"},
  18. {0x00090040, GetCountryCodeString, "GetCountryCodeString"},
  19. {0x000A0040, GetCountryCodeID, "GetCountryCodeID"},
  20. // cfg:i
  21. {0x04010082, GetConfigInfoBlk8, "GetConfigInfoBlk8"},
  22. {0x04020082, nullptr, "SetConfigInfoBlk4"},
  23. {0x04030000, UpdateConfigNANDSavegame, "UpdateConfigNANDSavegame"},
  24. {0x04040042, nullptr, "GetLocalFriendCodeSeedData"},
  25. {0x04050000, nullptr, "GetLocalFriendCodeSeed"},
  26. {0x04060000, SecureInfoGetRegion, "SecureInfoGetRegion"},
  27. {0x04070000, nullptr, "SecureInfoGetByte101"},
  28. {0x04080042, nullptr, "SecureInfoGetSerialNo"},
  29. {0x04090000, nullptr, "UpdateConfigBlk00040003"},
  30. {0x08010082, GetConfigInfoBlk8, "GetConfigInfoBlk8"},
  31. {0x08020082, nullptr, "SetConfigInfoBlk4"},
  32. {0x08030000, UpdateConfigNANDSavegame, "UpdateConfigNANDSavegame"},
  33. {0x080400C2, nullptr, "CreateConfigInfoBlk"},
  34. {0x08050000, nullptr, "DeleteConfigNANDSavefile"},
  35. {0x08060000, FormatConfig, "FormatConfig"},
  36. {0x08080000, nullptr, "UpdateConfigBlk1"},
  37. {0x08090000, nullptr, "UpdateConfigBlk2"},
  38. {0x080A0000, nullptr, "UpdateConfigBlk3"},
  39. {0x080B0082, nullptr, "SetGetLocalFriendCodeSeedData"},
  40. {0x080C0042, nullptr, "SetLocalFriendCodeSeedSignature"},
  41. {0x080D0000, nullptr, "DeleteCreateNANDLocalFriendCodeSeed"},
  42. {0x080E0000, nullptr, "VerifySigLocalFriendCodeSeed"},
  43. {0x080F0042, nullptr, "GetLocalFriendCodeSeedData"},
  44. {0x08100000, nullptr, "GetLocalFriendCodeSeed"},
  45. {0x08110084, nullptr, "SetSecureInfo"},
  46. {0x08120000, nullptr, "DeleteCreateNANDSecureInfo"},
  47. {0x08130000, nullptr, "VerifySigSecureInfo"},
  48. {0x08140042, nullptr, "SecureInfoGetData"},
  49. {0x08150042, nullptr, "SecureInfoGetSignature"},
  50. {0x08160000, SecureInfoGetRegion, "SecureInfoGetRegion"},
  51. {0x08170000, nullptr, "SecureInfoGetByte101"},
  52. {0x08180042, nullptr, "SecureInfoGetSerialNo"},
  53. };
  54. CFG_I_Interface::CFG_I_Interface() {
  55. Register(FunctionTable);
  56. }
  57. } // namespace CFG
  58. } // namespace Service