cfg_i.cpp 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. {0x000B0000, nullptr, "IsFangateSupported"},
  21. // cfg:i
  22. {0x04010082, GetConfigInfoBlk8, "GetConfigInfoBlk8"},
  23. {0x04020082, SetConfigInfoBlk4, "SetConfigInfoBlk4"},
  24. {0x04030000, UpdateConfigNANDSavegame, "UpdateConfigNANDSavegame"},
  25. {0x04040042, nullptr, "GetLocalFriendCodeSeedData"},
  26. {0x04050000, nullptr, "GetLocalFriendCodeSeed"},
  27. {0x04060000, SecureInfoGetRegion, "SecureInfoGetRegion"},
  28. {0x04070000, nullptr, "SecureInfoGetByte101"},
  29. {0x04080042, nullptr, "SecureInfoGetSerialNo"},
  30. {0x04090000, nullptr, "UpdateConfigBlk00040003"},
  31. {0x08010082, GetConfigInfoBlk8, "GetConfigInfoBlk8"},
  32. {0x08020082, SetConfigInfoBlk4, "SetConfigInfoBlk4"},
  33. {0x08030000, UpdateConfigNANDSavegame, "UpdateConfigNANDSavegame"},
  34. {0x080400C2, nullptr, "CreateConfigInfoBlk"},
  35. {0x08050000, nullptr, "DeleteConfigNANDSavefile"},
  36. {0x08060000, FormatConfig, "FormatConfig"},
  37. {0x08080000, nullptr, "UpdateConfigBlk1"},
  38. {0x08090000, nullptr, "UpdateConfigBlk2"},
  39. {0x080A0000, nullptr, "UpdateConfigBlk3"},
  40. {0x080B0082, nullptr, "SetGetLocalFriendCodeSeedData"},
  41. {0x080C0042, nullptr, "SetLocalFriendCodeSeedSignature"},
  42. {0x080D0000, nullptr, "DeleteCreateNANDLocalFriendCodeSeed"},
  43. {0x080E0000, nullptr, "VerifySigLocalFriendCodeSeed"},
  44. {0x080F0042, nullptr, "GetLocalFriendCodeSeedData"},
  45. {0x08100000, nullptr, "GetLocalFriendCodeSeed"},
  46. {0x08110084, nullptr, "SetSecureInfo"},
  47. {0x08120000, nullptr, "DeleteCreateNANDSecureInfo"},
  48. {0x08130000, nullptr, "VerifySigSecureInfo"},
  49. {0x08140042, nullptr, "SecureInfoGetData"},
  50. {0x08150042, nullptr, "SecureInfoGetSignature"},
  51. {0x08160000, SecureInfoGetRegion, "SecureInfoGetRegion"},
  52. {0x08170000, nullptr, "SecureInfoGetByte101"},
  53. {0x08180042, nullptr, "SecureInfoGetSerialNo"},
  54. };
  55. CFG_I::CFG_I() {
  56. Register(FunctionTable);
  57. }
  58. } // namespace CFG
  59. } // namespace Service