Log 'SDK version' input parameter

This commit is contained in:
mailwl 2016-05-19 14:25:48 +03:00
parent 7b365fd6ad
commit 7b226d4080
4 changed files with 10 additions and 8 deletions

View File

@ -79,9 +79,9 @@ static void SetClientVersion(Service::Interface* self) {
self->SetVersion(cmd_buff[1]);
cmd_buff[1] = RESULT_SUCCESS.raw; // No error
LOG_WARNING(Service_AC, "(STUBBED) called, version: 0x%08X", cmd_buff[1]);
LOG_WARNING(Service_AC, "(STUBBED) called");
cmd_buff[1] = RESULT_SUCCESS.raw; // No error
}
const Interface::FunctionInfo FunctionTable[] = {

View File

@ -106,9 +106,9 @@ void SetClientSdkVersion(Service::Interface* self) {
self->SetVersion(cmd_buff[1]);
cmd_buff[1] = RESULT_SUCCESS.raw; // No error
LOG_WARNING(Service_FRD, "(STUBBED) called, version: 0x%08X", cmd_buff[1]);
LOG_WARNING(Service_AC, "(STUBBED) called");
cmd_buff[1] = RESULT_SUCCESS.raw; // No error
}
void Init() {

View File

@ -684,9 +684,11 @@ static void InitializeWithSdkVersion(Service::Interface* self) {
self->SetVersion(cmd_buff[1]);
cmd_buff[1] = RESULT_SUCCESS.raw;
ASSERT_MSG(cmd_buff[2] == 0x20, "ProcessId Header must be 0x20");
LOG_WARNING(Service_FS, "(STUBBED) called");
LOG_WARNING(Service_FS, "(STUBBED) called, version: 0x%08X", cmd_buff[1]);
cmd_buff[1] = RESULT_SUCCESS.raw;
}
/**

View File

@ -23,9 +23,9 @@ static void SetClientVersion(Service::Interface* self) {
self->SetVersion(cmd_buff[1]);
cmd_buff[1] = RESULT_SUCCESS.raw; // No error
LOG_WARNING(Service_MIC, "(STUBBED) called, version: 0x%08X", cmd_buff[1]);
LOG_WARNING(Service_MIC, "(STUBBED) called");
cmd_buff[1] = RESULT_SUCCESS.raw; // No error
}