summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bunnei2016-05-02 19:04:20 -0400
committerGravatar bunnei2016-05-02 19:04:20 -0400
commita6e76c0903e1f7f2f4f5b4a9fe0c399849a1a3d5 (patch)
tree8e280d850b4e2fb3556982963817eb015b5ea838
parentMerge pull request #1741 from linkmauve/iwyu-video_core (diff)
parentremove duplicated function declaration (diff)
downloadyuzu-a6e76c0903e1f7f2f4f5b4a9fe0c399849a1a3d5.tar.gz
yuzu-a6e76c0903e1f7f2f4f5b4a9fe0c399849a1a3d5.tar.xz
yuzu-a6e76c0903e1f7f2f4f5b4a9fe0c399849a1a3d5.zip
Merge pull request #1732 from wwylele/config00170000
add config block 0x00170000; remove duplicated content
-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() {
389 res = CreateConfigInfoBlk(0x000F0004, sizeof(CONSOLE_MODEL), 0xC, &CONSOLE_MODEL); 389 res = CreateConfigInfoBlk(0x000F0004, sizeof(CONSOLE_MODEL), 0xC, &CONSOLE_MODEL);
390 if (!res.IsSuccess()) return res; 390 if (!res.IsSuccess()) return res;
391 391
392 // 0x00170000 - Unknown
393 res = CreateConfigInfoBlk(0x00170000, 0x4, 0xE, zero_buffer);
394 if (!res.IsSuccess()) return res;
395
392 // Save the buffer to the file 396 // Save the buffer to the file
393 res = UpdateConfigNANDSavegame(); 397 res = UpdateConfigNANDSavegame();
394 if (!res.IsSuccess()) 398 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);
98void GetCountryCodeID(Service::Interface* self); 98void GetCountryCodeID(Service::Interface* self);
99 99
100/** 100/**
101 * CFG::GetConfigInfoBlk2 service function
102 * Inputs:
103 * 0 : 0x00010082
104 * 1 : Size
105 * 2 : Block ID
106 * 3 : Descriptor for the output buffer
107 * 4 : Output buffer pointer
108 * Outputs:
109 * 1 : Result of function, 0 on success, otherwise error code
110 */
111void GetConfigInfoBlk2(Service::Interface* self);
112
113/**
114 * CFG::SecureInfoGetRegion service function 101 * CFG::SecureInfoGetRegion service function
115 * Inputs: 102 * Inputs:
116 * 1 : None 103 * 1 : None