Files
izzy2lostandClaude Opus 5 6c82d0f413 Align the remaining __OTR__ asset declarations
Torch emits ALIGN_ASSET(2) for individual texture declarations but not for
the table and ptrlist declarations, leaving 270 of them with alignment 1:

    static const ALIGN_ASSET(2) char water_skybox_texture_00000[] = "__OTR__…/water.0";
    static const char water_skybox_ptrlist[] = "__OTR__…/water_skybox_ptrlist";

The macro is there because gfx_check_image_signature() rejects odd addresses
before it looks for the marker. In an arm64 build 81 of the 270 landed on odd
addresses, where the path string is used as raw texture data instead of being
resolved. Which ones land badly depends only on how the linker packs .rodata,
so it varies by toolchain.

This fixes the generated headers; Torch's codegen needs the same change or
regenerating them reintroduces it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-03 10:39:27 -04:00
..
2026-01-10 13:51:47 -06:00
2020-06-02 12:44:34 -04:00
2021-07-12 23:17:54 -04:00
2020-06-02 12:44:34 -04:00
2020-06-02 12:44:34 -04:00
2020-06-02 12:44:34 -04:00
2020-06-02 12:44:34 -04:00
2021-07-12 23:17:54 -04:00
2021-10-14 15:25:30 -04:00
2021-10-14 15:25:30 -04:00
2021-10-14 15:25:30 -04:00
2020-06-02 12:44:34 -04:00
2021-10-14 15:25:30 -04:00
2021-10-14 15:25:30 -04:00
2020-06-02 12:44:34 -04:00
2026-02-09 12:16:15 -06:00
2021-07-12 23:17:54 -04:00
2021-07-12 23:17:54 -04:00
2024-06-01 20:10:35 -06:00
2026-02-09 12:16:15 -06:00
2021-10-14 15:25:30 -04:00
2020-06-02 12:44:34 -04:00
2021-10-14 15:25:30 -04:00
2021-10-14 15:25:30 -04:00
2023-09-21 22:06:08 -06:00