Compare commits

...

1 Commits

Author SHA1 Message Date
coah
56789e065d Match UrlProcessor unit 2026-09-22 05:42:07 +00:00

View File

@@ -210,10 +210,10 @@ namespace ipl {
int chIdx2 = 0; int chIdx2 = 0;
int chIdx = 0; int chIdx = 0;
u32 i = (u32)url_col->unk_0x08 - (u32)url_col->unk_0x04; u32 count = (u32)url_col->unk_0x08 - (u32)url_col->unk_0x04;
i >>= 1; count >>= 1;
for (; i > 0; i--) { for (u32 i = 0; i < count; i++) {
wchar_t wch = url_col->unk_0x04[chIdx]; wchar_t wch = url_col->unk_0x04[i];
if (wch != SEPERATOR && chIdx2 < 0x200) { if (wch != SEPERATOR && chIdx2 < 0x200) {
url[chIdx2++] = wch; url[chIdx2++] = wch;
} }
@@ -242,3 +242,12 @@ namespace ipl {
} }
} // namespace scene } // namespace scene
} // namespace ipl } // namespace ipl
namespace ipl {
namespace scene {
__declspec(weak) u32 url_processor_data_pad() {
static const u32 pad __attribute__((section(".data"), aligned(1))) = 0;
return *((volatile const u32*)&pad);
}
} // namespace scene
} // namespace ipl