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