mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-05 19:02:14 +02:00
Use libapplet-wrapper instead of AppletStorage
This commit is contained in:
parent
f816ac52d5
commit
f2abbc45db
@ -21,17 +21,12 @@ void errorClose(ErrorConfig* c) {
|
||||
|
||||
void errorShow(ErrorConfig* c) {
|
||||
AppletHolder err;
|
||||
AppletStorage errStor;
|
||||
LibAppletArgs errArgs;
|
||||
|
||||
appletCreateLibraryApplet(&err, AppletId_error, LibAppletMode_AllForeground);
|
||||
libappletArgsCreate(&errArgs, 1);
|
||||
libappletArgsPush(&errArgs, &err);
|
||||
|
||||
appletCreateStorage(&errStor, 4120);
|
||||
appletStorageWrite(&errStor, 0, c, 0x1018);
|
||||
|
||||
appletHolderPushInData(&err, &errStor);
|
||||
libappletPushInData(&err, c, 0x1018);
|
||||
|
||||
appletHolderStart(&err);
|
||||
appletHolderJoin(&err);
|
||||
|
Loading…
Reference in New Issue
Block a user