citra-emu
/
citra-canary
Archived
1
0
Fork 0

Merge pull request #3448 from wwylele/font-fix

APT: don't skip translation parameters
This commit is contained in:
Ben 2018-02-19 21:44:23 +01:00 committed by GitHub
commit 20f6cb1a22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -202,7 +202,8 @@ void Module::Interface::GetSharedFont(Kernel::HLERequestContext& ctx) {
} else { } else {
LOG_ERROR(Service_APT, "shared font file missing - go dump it from your 3ds"); LOG_ERROR(Service_APT, "shared font file missing - go dump it from your 3ds");
rb.Push<u32>(-1); // TODO: Find the right error code rb.Push<u32>(-1); // TODO: Find the right error code
rb.Skip(1 + 2, true); rb.Push<u32>(0);
rb.PushCopyObjects<Kernel::Object>(nullptr);
Core::System::GetInstance().SetStatus(Core::System::ResultStatus::ErrorSharedFont); Core::System::GetInstance().SetStatus(Core::System::ResultStatus::ErrorSharedFont);
return; return;
} }