cfg_s.cpp 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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/service/cfg/cfg.h"
  5. #include "core/hle/service/cfg/cfg_s.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:s
  22. {0x04010082, GetConfigInfoBlk8, "GetConfigInfoBlk8"},
  23. {0x04020082, SetConfigInfoBlk4, "SetConfigInfoBlk4"},
  24. {0x04030000, UpdateConfigNANDSavegame, "UpdateConfigNANDSavegame"},
  25. {0x04040042, nullptr, "GetLocalFriendCodeSeedData"},
  26. {0x04050000, nullptr, "GetLocalFriendCodeSeed"},
  27. {0x04060000, nullptr, "SecureInfoGetRegion"},
  28. {0x04070000, nullptr, "SecureInfoGetByte101"},
  29. {0x04080042, nullptr, "SecureInfoGetSerialNo"},
  30. {0x04090000, nullptr, "UpdateConfigBlk00040003"},
  31. };
  32. CFG_S_Interface::CFG_S_Interface() {
  33. Register(FunctionTable);
  34. }
  35. } // namespace CFG
  36. } // namespace Service