mirror of
https://github.com/Maschell/libutils.git
synced 2024-11-24 04:59:15 +01:00
Using github instead of sourceforge
This commit is contained in:
parent
9feb67d69d
commit
3eb6c9729f
@ -20,7 +20,7 @@ addons:
|
|||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- mkdir -p "${DEVKITPRO}"
|
- 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
|
- wget https://github.com/Maschell/dynamic_libs/archive/lib.tar.gz -O dynamic_libs.tar.gz
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
@ -377,8 +377,11 @@ u32 GetAddressOfFunction(const char * functionName,u32 library){
|
|||||||
OSDynLoad_FindExport(rpl_handle, 0, functionName, &real_addr);
|
OSDynLoad_FindExport(rpl_handle, 0, functionName, &real_addr);
|
||||||
|
|
||||||
if(!real_addr){
|
if(!real_addr){
|
||||||
DEBUG_FUNCTION_LINE("OSDynLoad_FindExport failed for %s\n", functionName);
|
OSDynLoad_FindExport(rpl_handle, 1, functionName, &real_addr);
|
||||||
return 0;
|
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)
|
if((library == LIB_NN_ACP) && (u32)(*(volatile u32*)(real_addr) & 0x48000002) == 0x48000000)
|
||||||
|
Loading…
Reference in New Issue
Block a user