forked from PretendoNetwork/Inkay
fix(olv): Allow RPLs with null names
CafeGLSL is an offender here
This commit is contained in:
parent
aedd02b0d1
commit
b16237417c
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ void new_rpl_loaded(OSDynLoad_Module module, void* ctx, OSDynLoad_NotifyReason r
|
|||
|
||||
// Loaded olv?
|
||||
if (reason != OS_DYNLOAD_NOTIFY_LOADED) return;
|
||||
if (!path_is_olv(rpl->name)) return;
|
||||
if (!rpl->name || !path_is_olv(rpl->name)) return;
|
||||
|
||||
replace(rpl->dataAddr, rpl->dataSize, original_url, sizeof(original_url), new_url, sizeof(new_url));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue