mirror of
https://github.com/PretendoNetwork/Inkay.git
synced 2026-09-08 10:25:20 -05:00
fix(olv): Allow RPLs with null names
CafeGLSL is an offender here
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user