mirror of
https://gitlab.com/Theopse/fbi-i18n-zh.git
synced 2025-04-26 19:36:38 +08:00
Update for ctrcommon changes.
This commit is contained in:
parent
41bc5aef19
commit
07d45c83ff
@ -24,11 +24,11 @@ int main(int argc, char **argv) {
|
|||||||
|
|
||||||
bool ninjhax = platformIsNinjhax();
|
bool ninjhax = platformIsNinjhax();
|
||||||
if(ninjhax) {
|
if(ninjhax) {
|
||||||
AcquireResult result = platformAcquireServices();
|
KernelResult result = platformAcquireServices();
|
||||||
if(result != ACQUIRE_SUCCESS) {
|
if(result != KERNEL_SUCCESS) {
|
||||||
std::stringstream errorStream;
|
std::stringstream errorStream;
|
||||||
errorStream << "Failed to acquire services." << "\n";
|
errorStream << "Failed to acquire services." << "\n";
|
||||||
errorStream << platformGetAcquireResultString(result) << "\n";
|
errorStream << platformGetKernelResultString(result) << "\n";
|
||||||
uiPrompt(TOP_SCREEN, errorStream.str(), false);
|
uiPrompt(TOP_SCREEN, errorStream.str(), false);
|
||||||
platformCleanup();
|
platformCleanup();
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user