mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-24 21:55:46 +00:00
Remove SyncRequest from K::Object and create a new K::Session type
This is a first step at fixing the conceptual insanity that is our handling of service and IPC calls. For now, interfaces still directly derived from Session because we don't have the infrastructure to do it properly. (That is, Processes and scheduling them.)
This commit is contained in:
parent
1ee740898a
commit
e321decf98
15 changed files with 129 additions and 104 deletions
|
@ -52,7 +52,7 @@ static const std::array<u16, 187> country_codes = {
|
|||
* 2 : Country's 2-char string
|
||||
*/
|
||||
static void GetCountryCodeString(Service::Interface* self) {
|
||||
u32* cmd_buffer = Service::GetCommandBuffer();
|
||||
u32* cmd_buffer = Kernel::GetCommandBuffer();
|
||||
u32 country_code_id = cmd_buffer[1];
|
||||
|
||||
if (country_code_id >= country_codes.size() || 0 == country_codes[country_code_id]) {
|
||||
|
@ -74,7 +74,7 @@ static void GetCountryCodeString(Service::Interface* self) {
|
|||
* 2 : Country Code ID
|
||||
*/
|
||||
static void GetCountryCodeID(Service::Interface* self) {
|
||||
u32* cmd_buffer = Service::GetCommandBuffer();
|
||||
u32* cmd_buffer = Kernel::GetCommandBuffer();
|
||||
u16 country_code = cmd_buffer[1];
|
||||
u16 country_code_id = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue