core, citra_qt: unify status of system archives and shared fonts

Shared fonts is no different from any other system archives, and there is not really any point to make a separate status for it. This also fixes the incorrect error message that was introduced when I made the UI text improvements.
This commit is contained in:
zhupengfei 2018-08-27 22:37:26 +08:00
parent 05118a2326
commit f28bc28d6b
No known key found for this signature in database
GPG key ID: 85B82A3E62174206
3 changed files with 11 additions and 22 deletions

View file

@ -204,7 +204,8 @@ void Module::Interface::GetSharedFont(Kernel::HLERequestContext& ctx) {
rb.Push<u32>(-1); // TODO: Find the right error code
rb.Push<u32>(0);
rb.PushCopyObjects<Kernel::Object>(nullptr);
Core::System::GetInstance().SetStatus(Core::System::ResultStatus::ErrorSharedFont);
Core::System::GetInstance().SetStatus(Core::System::ResultStatus::ErrorSystemFiles,
"Shared fonts");
return;
}
}