zeldaret / ss

Decompilation of The Legend of Zelda: Skyward Sword
Creative Commons Zero v1.0 Universal
45 stars 8 forks source link

Some files seem to require `#pragma explicit_zero_data on` #69

Open robojumper opened 3 weeks ago

robojumper commented 3 weeks ago

We've observed this in two RELs so far - zeroed data not going in a .bss section but rather a .data section, with a locally applied #pragma explicit_zero_data on as a workaround. Is there a different way this can happen?

Enabling #pragma explicit_zero_data on globally would probably break a ton of files but removing the = nullptr or = 0.0f could restore them. It's probably not the right solution though.