mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-23 12:41:50 +01:00
Another minor code clean up, because I'm dumb
This commit is contained in:
parent
f10e4463fe
commit
be79abd213
@ -168,7 +168,8 @@ namespace core::kernel {
|
|||||||
{
|
{
|
||||||
std::pair<int, uint32_t(*)()>* result = &(svcTable[svc]);
|
std::pair<int, uint32_t(*)()>* result = &(svcTable[svc]);
|
||||||
|
|
||||||
if (result->second) {
|
if (result->second)
|
||||||
|
{
|
||||||
uint32_t returnCode = result->second();
|
uint32_t returnCode = result->second();
|
||||||
SetRegister(UC_ARM64_REG_W0, returnCode);
|
SetRegister(UC_ARM64_REG_W0, returnCode);
|
||||||
return returnCode;
|
return returnCode;
|
||||||
|
Loading…
Reference in New Issue
Block a user