mirror of
https://github.com/Maschell/hid_to_vpad.git
synced 2024-12-22 19:31:49 +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
|
||||
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();
|
||||
InitSocketFunctionPointers();
|
||||
InitGX2FunctionPointers();
|
||||
@ -46,7 +54,6 @@ extern "C" s32 Menu_Main(void){
|
||||
SetupKernelCallback();
|
||||
|
||||
log_init("192.168.0.181");
|
||||
|
||||
log_printf("HID to VPAD %s - %s %s - by Maschell\n\n",APP_VERION,__DATE__,__TIME__);
|
||||
|
||||
//!*******************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user