cfg_u.cpp 1.0 KB

12345678910111213141516171819202122232425262728293031
  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_u.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. };
  22. CFG_U::CFG_U() {
  23. Register(FunctionTable);
  24. }
  25. } // namespace CFG
  26. } // namespace Service