cfg_i.cpp 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. // Copyright 2014 Citra Emulator Project
  2. // Licensed under GPLv2
  3. // Refer to the license.txt file included.
  4. #include "common/log.h"
  5. #include "core/hle/hle.h"
  6. #include "core/hle/service/cfg_i.h"
  7. ////////////////////////////////////////////////////////////////////////////////////////////////////
  8. // Namespace CFG_I
  9. namespace CFG_I {
  10. const Interface::FunctionInfo FunctionTable[] = {
  11. {0x04010082, nullptr, "GetConfigInfoBlk8"},
  12. {0x04020082, nullptr, "GetConfigInfoBlk4"},
  13. {0x04030000, nullptr, "UpdateConfigNANDSavegame"},
  14. {0x04040042, nullptr, "GetLocalFriendCodeSeedData"},
  15. {0x04050000, nullptr, "GetLocalFriendCodeSeed"},
  16. {0x04060000, nullptr, "SecureInfoGetRegion"},
  17. {0x04070000, nullptr, "SecureInfoGetByte101"},
  18. {0x04080042, nullptr, "SecureInfoGetSerialNo"},
  19. {0x04090000, nullptr, "UpdateConfigBlk00040003"},
  20. {0x08010082, nullptr, "GetConfigInfoBlk8"},
  21. {0x08020082, nullptr, "GetConfigInfoBlk4"},
  22. {0x08030000, nullptr, "UpdateConfigNANDSavegame"},
  23. {0x080400C2, nullptr, "CreateConfigInfoBlk"},
  24. {0x08050000, nullptr, "DeleteConfigNANDSavefile"},
  25. {0x08060000, nullptr, "FormatConfig"},
  26. {0x08070000, nullptr, "Unknown"},
  27. {0x08080000, nullptr, "UpdateConfigBlk1"},
  28. {0x08090000, nullptr, "UpdateConfigBlk2"},
  29. {0x080A0000, nullptr, "UpdateConfigBlk3"},
  30. {0x080B0082, nullptr, "SetGetLocalFriendCodeSeedData"},
  31. {0x080C0042, nullptr, "SetLocalFriendCodeSeedSignature"},
  32. {0x080D0000, nullptr, "DeleteCreateNANDLocalFriendCodeSeed"},
  33. {0x080E0000, nullptr, "VerifySigLocalFriendCodeSeed"},
  34. {0x080F0042, nullptr, "GetLocalFriendCodeSeedData"},
  35. {0x08100000, nullptr, "GetLocalFriendCodeSeed"},
  36. {0x08110084, nullptr, "SetSecureInfo"},
  37. {0x08120000, nullptr, "DeleteCreateNANDSecureInfo"},
  38. {0x08130000, nullptr, "VerifySigSecureInfo"},
  39. {0x08140042, nullptr, "SecureInfoGetData"},
  40. {0x08150042, nullptr, "SecureInfoGetSignature"},
  41. {0x08160000, nullptr, "SecureInfoGetRegion"},
  42. {0x08170000, nullptr, "SecureInfoGetByte101"},
  43. {0x08180042, nullptr, "SecureInfoGetSerialNo"},
  44. };
  45. ////////////////////////////////////////////////////////////////////////////////////////////////////
  46. // Interface class
  47. Interface::Interface() {
  48. Register(FunctionTable, ARRAY_SIZE(FunctionTable));
  49. }
  50. Interface::~Interface() {
  51. }
  52. } // namespace