summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-05-03 01:04:20 +0200
committerbunnei <bunneidev@gmail.com>2016-05-03 01:04:20 +0200
commita6e76c0903e1f7f2f4f5b4a9fe0c399849a1a3d5 (patch)
tree8e280d850b4e2fb3556982963817eb015b5ea838 /src
parentMerge pull request #1741 from linkmauve/iwyu-video_core (diff)
parentremove duplicated function declaration (diff)
downloadyuzu-a6e76c0903e1f7f2f4f5b4a9fe0c399849a1a3d5.tar
yuzu-a6e76c0903e1f7f2f4f5b4a9fe0c399849a1a3d5.tar.gz
yuzu-a6e76c0903e1f7f2f4f5b4a9fe0c399849a1a3d5.tar.bz2
yuzu-a6e76c0903e1f7f2f4f5b4a9fe0c399849a1a3d5.tar.lz
yuzu-a6e76c0903e1f7f2f4f5b4a9fe0c399849a1a3d5.tar.xz
yuzu-a6e76c0903e1f7f2f4f5b4a9fe0c399849a1a3d5.tar.zst
yuzu-a6e76c0903e1f7f2f4f5b4a9fe0c399849a1a3d5.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/cfg/cfg.cpp4
-rw-r--r--src/core/hle/service/cfg/cfg.h13
2 files changed, 4 insertions, 13 deletions
diff --git a/src/core/hle/service/cfg/cfg.cpp b/src/core/hle/service/cfg/cfg.cpp
index 525432957..b9322c55d 100644
--- a/src/core/hle/service/cfg/cfg.cpp
+++ b/src/core/hle/service/cfg/cfg.cpp
@@ -389,6 +389,10 @@ ResultCode FormatConfig() {
res = CreateConfigInfoBlk(0x000F0004, sizeof(CONSOLE_MODEL), 0xC, &CONSOLE_MODEL);
if (!res.IsSuccess()) return res;
+ // 0x00170000 - Unknown
+ res = CreateConfigInfoBlk(0x00170000, 0x4, 0xE, zero_buffer);
+ if (!res.IsSuccess()) return res;
+
// Save the buffer to the file
res = UpdateConfigNANDSavegame();
if (!res.IsSuccess())
diff --git a/src/core/hle/service/cfg/cfg.h b/src/core/hle/service/cfg/cfg.h
index 606ab99cf..c01806836 100644
--- a/src/core/hle/service/cfg/cfg.h
+++ b/src/core/hle/service/cfg/cfg.h
@@ -98,19 +98,6 @@ void GetCountryCodeString(Service::Interface* self);
void GetCountryCodeID(Service::Interface* self);
/**
- * CFG::GetConfigInfoBlk2 service function
- * Inputs:
- * 0 : 0x00010082
- * 1 : Size
- * 2 : Block ID
- * 3 : Descriptor for the output buffer
- * 4 : Output buffer pointer
- * Outputs:
- * 1 : Result of function, 0 on success, otherwise error code
- */
-void GetConfigInfoBlk2(Service::Interface* self);
-
-/**
* CFG::SecureInfoGetRegion service function
* Inputs:
* 1 : None