Skip to content

Commit

Permalink
quick init stuff, prevent garbo memory
Browse files Browse the repository at this point in the history
  • Loading branch information
hamhub7 committed May 23, 2021
1 parent 700fabf commit 79ea06b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/lua_hiddbg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Controller lua_hiddbg_AttachController(u32 bodyColor, u32 buttonsColor, u32 grip
device.colorLeftGrip = gripLColor;
device.colorRightGrip = gripRColor;

Controller controller;
Controller controller = {0};

Result rc = hiddbgAttachHdlsVirtualDevice(&controller.handle, &device);
if (R_FAILED(rc))
Expand Down

0 comments on commit 79ea06b

Please sign in to comment.