diff options
| author | mailwl <mailwl@gmail.com> | 2016-04-24 12:39:06 +0300 |
|---|---|---|
| committer | mailwl <mailwl@gmail.com> | 2016-05-05 22:31:33 +0300 |
| commit | e311398a2202a174541144aeaa297752fab4d79b (patch) | |
| tree | 8b45b53fdc97f9093606f906bd7783ceffcfbf21 /src/core/hle/applets/mii_selector.cpp | |
| parent | f5e839066a11c0d478caa7297947d9fdd8c12fba (diff) | |
Layout Mii parameters input/output, and return success as result of applet work
Diffstat (limited to 'src/core/hle/applets/mii_selector.cpp')
| -rw-r--r-- | src/core/hle/applets/mii_selector.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/applets/mii_selector.cpp b/src/core/hle/applets/mii_selector.cpp index 708d2f630..5191c821d 100644 --- a/src/core/hle/applets/mii_selector.cpp +++ b/src/core/hle/applets/mii_selector.cpp @@ -55,6 +55,11 @@ ResultCode MiiSelector::StartImpl(const Service::APT::AppletStartupParameter& pa // TODO(Subv): Set the expected fields in the response buffer before resending it to the application. // TODO(Subv): Reverse the parameter format for the Mii Selector + if(parameter.buffer_size >= sizeof(u32)) { + // TODO: defaults return no error, but garbage in other unknown fields + memset(parameter.data, 0, sizeof(u32)); + } + // Let the application know that we're closing Service::APT::MessageParameter message; message.buffer_size = parameter.buffer_size; |
