whb: Add ability to remove logging functions

* WHBRemoveLogHandler will look through the "registry" of logging
functions, and will set the entry to NULL if it matches what the user
passes.
* WHBLogUdpDeinit will correctly close the socket and shut down the
socket library in addition to removing its entry in the registry.
This commit is contained in:
CreeperMario
2017-08-20 18:17:07 +09:30
parent ac4ce95f84
commit 20c7dbf2fb
7 changed files with 44 additions and 4 deletions

View File

@@ -116,5 +116,6 @@ exit:
WHBUnmountSdCard();
WHBGfxShutdown();
WHBProcShutdown();
WHBLogUdpDeinit();
return result;
}