Using github instead of sourceforge

This commit is contained in:
Maschell 2018-02-25 13:46:59 +01:00
parent 9feb67d69d
commit 3eb6c9729f
2 changed files with 6 additions and 3 deletions

View File

@ -20,7 +20,7 @@ addons:
before_install:
- mkdir -p "${DEVKITPRO}"
- wget http://download.sourceforge.net/devkitpro/devkitPPC_r29-1-x86_64-linux.tar.bz2 -O devkitPPC-linux.tar.bz2
- wget https://downloads.devkitpro.org/devkitPPC_r29-1-x86_64-linux.tar.bz2 -O devkitPPC-linux.tar.bz22
- wget https://github.com/Maschell/dynamic_libs/archive/lib.tar.gz -O dynamic_libs.tar.gz
install:

View File

@ -377,8 +377,11 @@ u32 GetAddressOfFunction(const char * functionName,u32 library){
OSDynLoad_FindExport(rpl_handle, 0, functionName, &real_addr);
if(!real_addr){
DEBUG_FUNCTION_LINE("OSDynLoad_FindExport failed for %s\n", functionName);
return 0;
OSDynLoad_FindExport(rpl_handle, 1, functionName, &real_addr);
if(!real_addr){
DEBUG_FUNCTION_LINE("OSDynLoad_FindExport failed for %s\n", functionName);
return 0;
}
}
if((library == LIB_NN_ACP) && (u32)(*(volatile u32*)(real_addr) & 0x48000002) == 0x48000000)