diff options
author | bunnei <bunneidev@gmail.com> | 2016-03-29 16:25:16 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2016-03-29 16:25:16 +0200 |
commit | 7e2c0c53715b6c76eab2a1ae01913924b8e65b70 (patch) | |
tree | 9a778efb1aa38ecadfb82d2726b718f3b7e36a7a /src/core/hle | |
parent | Merge pull request #1589 from LittleWhite-tb/compil-fix (diff) | |
parent | Add common methods to all cfg:* ports (diff) | |
download | yuzu-7e2c0c53715b6c76eab2a1ae01913924b8e65b70.tar yuzu-7e2c0c53715b6c76eab2a1ae01913924b8e65b70.tar.gz yuzu-7e2c0c53715b6c76eab2a1ae01913924b8e65b70.tar.bz2 yuzu-7e2c0c53715b6c76eab2a1ae01913924b8e65b70.tar.lz yuzu-7e2c0c53715b6c76eab2a1ae01913924b8e65b70.tar.xz yuzu-7e2c0c53715b6c76eab2a1ae01913924b8e65b70.tar.zst yuzu-7e2c0c53715b6c76eab2a1ae01913924b8e65b70.zip |
Diffstat (limited to 'src/core/hle')
-rw-r--r-- | src/core/hle/service/cfg/cfg_i.cpp | 12 | ||||
-rw-r--r-- | src/core/hle/service/cfg/cfg_s.cpp | 8 | ||||
-rw-r--r-- | src/core/hle/service/cfg/cfg_u.cpp | 1 |
3 files changed, 21 insertions, 0 deletions
diff --git a/src/core/hle/service/cfg/cfg_i.cpp b/src/core/hle/service/cfg/cfg_i.cpp index 0559a07b2..b18060f6d 100644 --- a/src/core/hle/service/cfg/cfg_i.cpp +++ b/src/core/hle/service/cfg/cfg_i.cpp @@ -9,6 +9,18 @@ namespace Service { namespace CFG { const Interface::FunctionInfo FunctionTable[] = { + // cfg common + {0x00010082, GetConfigInfoBlk2, "GetConfigInfoBlk2"}, + {0x00020000, SecureInfoGetRegion, "SecureInfoGetRegion"}, + {0x00030040, GenHashConsoleUnique, "GenHashConsoleUnique"}, + {0x00040000, GetRegionCanadaUSA, "GetRegionCanadaUSA"}, + {0x00050000, GetSystemModel, "GetSystemModel"}, + {0x00060000, GetModelNintendo2DS, "GetModelNintendo2DS"}, + {0x00070040, nullptr, "WriteToFirstByteCfgSavegame"}, + {0x00080080, nullptr, "GoThroughTable"}, + {0x00090040, GetCountryCodeString, "GetCountryCodeString"}, + {0x000A0040, GetCountryCodeID, "GetCountryCodeID"}, + // cfg:i {0x04010082, GetConfigInfoBlk8, "GetConfigInfoBlk8"}, {0x04020082, nullptr, "SetConfigInfoBlk4"}, {0x04030000, UpdateConfigNANDSavegame, "UpdateConfigNANDSavegame"}, diff --git a/src/core/hle/service/cfg/cfg_s.cpp b/src/core/hle/service/cfg/cfg_s.cpp index b03d290e5..e001f7687 100644 --- a/src/core/hle/service/cfg/cfg_s.cpp +++ b/src/core/hle/service/cfg/cfg_s.cpp @@ -9,10 +9,18 @@ namespace Service { namespace CFG { const Interface::FunctionInfo FunctionTable[] = { + // cfg common {0x00010082, GetConfigInfoBlk2, "GetConfigInfoBlk2"}, {0x00020000, SecureInfoGetRegion, "SecureInfoGetRegion"}, {0x00030040, GenHashConsoleUnique, "GenHashConsoleUnique"}, + {0x00040000, GetRegionCanadaUSA, "GetRegionCanadaUSA"}, {0x00050000, GetSystemModel, "GetSystemModel"}, + {0x00060000, GetModelNintendo2DS, "GetModelNintendo2DS"}, + {0x00070040, nullptr, "WriteToFirstByteCfgSavegame"}, + {0x00080080, nullptr, "GoThroughTable"}, + {0x00090040, GetCountryCodeString, "GetCountryCodeString"}, + {0x000A0040, GetCountryCodeID, "GetCountryCodeID"}, + // cfg:s {0x04010082, GetConfigInfoBlk8, "GetConfigInfoBlk8"}, {0x04020082, nullptr, "SetConfigInfoBlk4"}, {0x04030000, UpdateConfigNANDSavegame, "UpdateConfigNANDSavegame"}, diff --git a/src/core/hle/service/cfg/cfg_u.cpp b/src/core/hle/service/cfg/cfg_u.cpp index 89ae96c9e..606f7b2eb 100644 --- a/src/core/hle/service/cfg/cfg_u.cpp +++ b/src/core/hle/service/cfg/cfg_u.cpp @@ -9,6 +9,7 @@ namespace Service { namespace CFG { const Interface::FunctionInfo FunctionTable[] = { + // cfg common {0x00010082, GetConfigInfoBlk2, "GetConfigInfoBlk2"}, {0x00020000, SecureInfoGetRegion, "SecureInfoGetRegion"}, {0x00030040, GenHashConsoleUnique, "GenHashConsoleUnique"}, |