grumpycoders / pcsx-redux

The PCSX-Redux project is a collection of tools, research, hardware design, and libraries aiming at development and reverse engineering on the PlayStation 1. The core product itself, PCSX-Redux, is yet another fork of the Playstation emulator, PCSX.
https://pcsx-redux.consoledev.net
GNU General Public License v2.0
663 stars 108 forks source link

OpenBIOS/nugget: fix section alignment for binary includes #1656

Closed spicyjpeg closed 5 months ago

spicyjpeg commented 5 months ago

This PR adds --set-section-alignment .data=4 to all invocations of objcopy in the build scripts under src/mips, fixing OpenBIOS crashing on startup when an executable is embedded into it through the EMBED_PSEXE option due to unaligned pointers.