This commit is contained in:
parent
f0e748b532
commit
ab86ba6058
1 changed files with 11 additions and 1 deletions
|
@ -462,11 +462,21 @@ private:
|
||||||
std::shared_ptr<SslContextSharedData> shared_data;
|
std::shared_ptr<SslContextSharedData> shared_data;
|
||||||
|
|
||||||
void SetOption(HLERequestContext& ctx) {
|
void SetOption(HLERequestContext& ctx) {
|
||||||
|
struct Parameters {
|
||||||
|
ContextOption option;
|
||||||
|
s32 value;
|
||||||
|
};
|
||||||
|
static_assert(sizeof(Parameters) == 0x8, "Parameters is an invalid size");
|
||||||
|
|
||||||
IPC::RequestParser rp{ctx};
|
IPC::RequestParser rp{ctx};
|
||||||
const auto parameters = rp.PopRaw<ContextOption>();
|
const auto parameters = rp.PopRaw<Parameters>();
|
||||||
|
|
||||||
|
LOG_WARNING(Service_SSL, "(STUBBED) called. option={}, value={}", parameters.option,
|
||||||
|
parameters.value);
|
||||||
|
|
||||||
IPC::ResponseBuilder rb{ctx, 2};
|
IPC::ResponseBuilder rb{ctx, 2};
|
||||||
rb.Push(ResultSuccess);
|
rb.Push(ResultSuccess);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void GetOption(HLERequestContext& ctx) {
|
void GetOption(HLERequestContext& ctx) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue