mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-25 20:42:07 +00:00
"fixed" and "aligned" location checking advanced the target location to places regardless of the associated free space, potentially breaking the assumption that the location was always further in memory than the free space's base. Rather than adding more code to try keeping that assumption true, harden `isLocationSuitable` and handle that case as well.