EXPORT_C_(void) USBshutdown() { // Yes, we close things in the Shutdown routine, and // don't do anything in the close routine. USBLog.Close(); free(usbregs); usbregs = NULL; }
EXPORT_C_(void) USBsetLogDir(const char* dir) { // Get the path to the log directory. s_strLogPath = (dir==NULL) ? "logs" : dir; // Reload the log file after updated the path USBLog.Close(); LogInit(); }
EXPORT_C_(void) DEV9shutdown() { Dev9Log.WriteLn("Shutting down Dev9null."); Dev9Log.Close(); }