mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-21 18:59:15 +01:00
Disconnect Wiimotes before WPAD_Shutdown
This commit is contained in:
parent
e3d94e4ad8
commit
a78a615b55
@ -6,6 +6,7 @@
|
||||
#include "input.h"
|
||||
#include "themes/CTheme.h"
|
||||
#include "gecko.h"
|
||||
#include "wpad.h"
|
||||
#include "Controls/DeviceHandler.hpp"
|
||||
#include "wad/nandtitle.h"
|
||||
#include "SystemMenu/SystemMenuResources.h"
|
||||
@ -298,7 +299,7 @@ int StartUpProcess::Execute()
|
||||
USBStorage2_Deinit();
|
||||
|
||||
// Shut down pads
|
||||
WPAD_Shutdown();
|
||||
Wpad_Disconnect();
|
||||
|
||||
// Loading now the cios setup in the settings
|
||||
IosLoader::LoadAppCios();
|
||||
|
@ -1,6 +1,5 @@
|
||||
#include <gctypes.h>
|
||||
#include <ogc/system.h>
|
||||
#include <wiiuse/wpad.h>
|
||||
|
||||
#include "mload/mload.h"
|
||||
#include "banner/BannerAsync.h"
|
||||
@ -26,6 +25,7 @@
|
||||
#include "menu.h"
|
||||
#include "video.h"
|
||||
#include "gecko.h"
|
||||
#include "wpad.h"
|
||||
#include "wad/nandtitle.h"
|
||||
|
||||
extern "C"
|
||||
@ -116,7 +116,7 @@ void AppCleanUp(void)
|
||||
|
||||
ResourceManager::DestroyInstance();
|
||||
|
||||
WPAD_Shutdown();
|
||||
Wpad_Disconnect();
|
||||
ISFS_Deinitialize();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user