mirror of
https://github.com/Maschell/libutils.git
synced 2024-11-27 22:24:15 +01:00
Using github instead of sourceforge
This commit is contained in:
parent
9feb67d69d
commit
3eb6c9729f
@ -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:
|
||||
|
@ -376,10 +376,13 @@ u32 GetAddressOfFunction(const char * functionName,u32 library){
|
||||
|
||||
OSDynLoad_FindExport(rpl_handle, 0, functionName, &real_addr);
|
||||
|
||||
if(!real_addr){
|
||||
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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user