mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-16 13:59:39 -04:00
update some actors to use sizeof for mSize, endian swap J2DScreen related structs, add 64bit endian swapping
game appears to be hanging on fully initing some processes, so while there isnt an immediate crash, nothing seems to be happening
This commit is contained in:
@@ -368,9 +368,9 @@ bool J2DScreen::createMaterial(JSURandomInputStream* p_stream, u32 param_1, JKRA
|
||||
char* ptr = (char*)sec_s;
|
||||
u16 size = lastOffset;
|
||||
while (ptr[size] != 0) {
|
||||
size++;
|
||||
size++;
|
||||
}
|
||||
size++;
|
||||
size++;
|
||||
|
||||
u8* nametab = new u8[size];
|
||||
if (nametab == NULL) {
|
||||
|
||||
Reference in New Issue
Block a user