mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-05 19:02:14 +02:00
Remove unnecessary array
This commit is contained in:
parent
f41f0bea7a
commit
f816ac52d5
@ -24,15 +24,12 @@ void errorShow(ErrorConfig* c) {
|
||||
AppletStorage errStor;
|
||||
LibAppletArgs errArgs;
|
||||
|
||||
u8 args[0x1018] = {0};
|
||||
memcpy(&args, c, 0x1018);
|
||||
|
||||
appletCreateLibraryApplet(&err, AppletId_error, LibAppletMode_AllForeground);
|
||||
libappletArgsCreate(&errArgs, 1);
|
||||
libappletArgsPush(&errArgs, &err);
|
||||
|
||||
appletCreateStorage(&errStor, 4120);
|
||||
appletStorageWrite(&errStor, 0, args, 0x1018);
|
||||
appletStorageWrite(&errStor, 0, c, 0x1018);
|
||||
|
||||
appletHolderPushInData(&err, &errStor);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user