fix(olv): Allow RPLs with null names

CafeGLSL is an offender here
This commit is contained in:
Ash Logan 2024-09-11 13:07:29 +10:00
commit b16237417c

View file

@ -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));
}