mirror of
https://github.com/Maschell/hid_to_vpad.git
synced 2024-11-22 06:29:15 +01:00
Added an error message when a unsupported game is loaded (+ undoing the patches)
This commit is contained in:
parent
ff771530e0
commit
9d89a8f53e
@ -35,6 +35,14 @@ extern "C" s32 Menu_Main(void){
|
|||||||
//!*******************************************************************
|
//!*******************************************************************
|
||||||
//! do OS (for acquire) and sockets first so we got logging
|
//! do OS (for acquire) and sockets first so we got logging
|
||||||
InitOSFunctionPointers();
|
InitOSFunctionPointers();
|
||||||
|
|
||||||
|
if(OSGetTitleID() == 0x00050000101a5f00L || // Shantae and the Pirate's Curse USA (reason: crashes when pressing HOME, Pro Controller not recognized)
|
||||||
|
OSGetTitleID() == 0x00050000101a9500L){ // Shantae and the Pirate's Curse EUR (reason: crashes when pressing HOME, Pro Controller not recognized)
|
||||||
|
SplashScreen(5, std::string("Error. This game is not supported. Starting without patches =(").c_str());
|
||||||
|
RestorePatches();
|
||||||
|
return EXIT_RELAUNCH_ON_LOAD;
|
||||||
|
}
|
||||||
|
|
||||||
InitFSFunctionPointers();
|
InitFSFunctionPointers();
|
||||||
InitSocketFunctionPointers();
|
InitSocketFunctionPointers();
|
||||||
InitGX2FunctionPointers();
|
InitGX2FunctionPointers();
|
||||||
@ -46,7 +54,6 @@ extern "C" s32 Menu_Main(void){
|
|||||||
SetupKernelCallback();
|
SetupKernelCallback();
|
||||||
|
|
||||||
log_init("192.168.0.181");
|
log_init("192.168.0.181");
|
||||||
|
|
||||||
log_printf("HID to VPAD %s - %s %s - by Maschell\n\n",APP_VERION,__DATE__,__TIME__);
|
log_printf("HID to VPAD %s - %s %s - by Maschell\n\n",APP_VERION,__DATE__,__TIME__);
|
||||||
|
|
||||||
//!*******************************************************************
|
//!*******************************************************************
|
||||||
|
Loading…
Reference in New Issue
Block a user