mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-06 11:22:15 +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) {
|
void errorShow(ErrorConfig* c) {
|
||||||
AppletHolder err;
|
AppletHolder err;
|
||||||
AppletStorage errStor;
|
|
||||||
LibAppletArgs errArgs;
|
LibAppletArgs errArgs;
|
||||||
|
|
||||||
appletCreateLibraryApplet(&err, AppletId_error, LibAppletMode_AllForeground);
|
appletCreateLibraryApplet(&err, AppletId_error, LibAppletMode_AllForeground);
|
||||||
libappletArgsCreate(&errArgs, 1);
|
libappletArgsCreate(&errArgs, 1);
|
||||||
libappletArgsPush(&errArgs, &err);
|
libappletArgsPush(&errArgs, &err);
|
||||||
|
libappletPushInData(&err, c, 0x1018);
|
||||||
appletCreateStorage(&errStor, 4120);
|
|
||||||
appletStorageWrite(&errStor, 0, c, 0x1018);
|
|
||||||
|
|
||||||
appletHolderPushInData(&err, &errStor);
|
|
||||||
|
|
||||||
appletHolderStart(&err);
|
appletHolderStart(&err);
|
||||||
appletHolderJoin(&err);
|
appletHolderJoin(&err);
|
||||||
|
Loading…
Reference in New Issue
Block a user