mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-25 20:30:14 +00:00
fixes
This commit is contained in:
parent
8c6ffa17eb
commit
0ca3f8b7b6
@ -77,9 +77,10 @@ static void IsConnected(Service::Interface* self) {
|
||||
static void SetClientVersion(Service::Interface* self) {
|
||||
u32* cmd_buff = Kernel::GetCommandBuffer();
|
||||
|
||||
self->SetVersion(cmd_buff[1]);
|
||||
const u32 version = cmd_buff[1];
|
||||
self->SetVersion(version);
|
||||
|
||||
LOG_WARNING(Service_AC, "(STUBBED) called, version: 0x%08X", cmd_buff[1]);
|
||||
LOG_WARNING(Service_AC, "(STUBBED) called, version: 0x%08X", version);
|
||||
|
||||
cmd_buff[1] = RESULT_SUCCESS.raw; // No error
|
||||
}
|
||||
|
@ -104,9 +104,11 @@ void GetMyScreenName(Service::Interface* self) {
|
||||
void SetClientSdkVersion(Service::Interface* self) {
|
||||
u32* cmd_buff = Kernel::GetCommandBuffer();
|
||||
|
||||
self->SetVersion(cmd_buff[1]);
|
||||
const u32 version = cmd_buff[1];
|
||||
|
||||
LOG_WARNING(Service_FRD, "(STUBBED) called, version: 0x%08X", cmd_buff[1]);
|
||||
self->SetVersion(version);
|
||||
|
||||
LOG_WARNING(Service_FRD, "(STUBBED) called, version: 0x%08X", version);
|
||||
|
||||
cmd_buff[1] = RESULT_SUCCESS.raw; // No error
|
||||
}
|
||||
|
@ -713,16 +713,14 @@ static void CreateLegacySystemSaveData(Service::Interface* self) {
|
||||
static void InitializeWithSdkVersion(Service::Interface* self) {
|
||||
u32* cmd_buff = Kernel::GetCommandBuffer();
|
||||
|
||||
self->SetVersion(cmd_buff[1]);
|
||||
const u32 version = cmd_buff[1];
|
||||
self->SetVersion(version);
|
||||
|
||||
if (cmd_buff[2] == IPC::CallingPidDesc()) {
|
||||
LOG_WARNING(Service_FS, "(STUBBED) called, version: 0x%08X", cmd_buff[1]);
|
||||
|
||||
LOG_WARNING(Service_FS, "(STUBBED) called, version: 0x%08X", version);
|
||||
cmd_buff[1] = RESULT_SUCCESS.raw;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
LOG_ERROR(Service_FS, "ProcessId Header must be 0x20");
|
||||
|
||||
cmd_buff[1] = ResultCode(ErrorDescription::OS_InvalidBufferDescriptor, ErrorModule::OS,
|
||||
ErrorSummary::WrongArgument, ErrorLevel::Permanent).raw;
|
||||
}
|
||||
|
@ -21,9 +21,10 @@ namespace MIC_U {
|
||||
static void SetClientVersion(Service::Interface* self) {
|
||||
u32* cmd_buff = Kernel::GetCommandBuffer();
|
||||
|
||||
self->SetVersion(cmd_buff[1]);
|
||||
const u32 version = cmd_buff[1];
|
||||
self->SetVersion(version);
|
||||
|
||||
LOG_WARNING(Service_MIC, "(STUBBED) called, version: 0x%08X", cmd_buff[1]);
|
||||
LOG_WARNING(Service_MIC, "(STUBBED) called, version: 0x%08X", version);
|
||||
|
||||
cmd_buff[1] = RESULT_SUCCESS.raw; // No error
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user