mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 02:15:45 +00:00
Set client SDK version to Service APIs
This commit is contained in:
parent
6cb2b20a6b
commit
662aee1e1d
8 changed files with 88 additions and 16 deletions
|
@ -100,6 +100,18 @@ void GetMyScreenName(Service::Interface* self) {
|
|||
LOG_WARNING(Service_FRD, "(STUBBED) called");
|
||||
}
|
||||
|
||||
void SetClientSdkVersion(Service::Interface* self) {
|
||||
u32* cmd_buff = Kernel::GetCommandBuffer();
|
||||
|
||||
const u32 version = cmd_buff[1];
|
||||
|
||||
self->SetVersion(version);
|
||||
|
||||
LOG_WARNING(Service_FRD, "(STUBBED) called, version: 0x%08X", version);
|
||||
|
||||
cmd_buff[1] = RESULT_SUCCESS.raw; // No error
|
||||
}
|
||||
|
||||
void Init() {
|
||||
using namespace Kernel;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue