Lameguy64 / PSn00bSDK

The most powerful open source SDK for the PS1 (as far as open source PS1 SDKs go). Not recommended for beginner use.
Other
819 stars 66 forks source link

Even more CMake fixes, submodules, pads example #43

Closed spicyjpeg closed 2 years ago

spicyjpeg commented 2 years ago

This PR replaces CMake dependency auto-downloads with git submodules, fixes several bugs (macOS installation errors, directory structure of examples not being preserved, missing padding in sprintf()...) and adds the io/pads example. It also makes PSn00bSDK compatible with a slightly older CMake version (3.20).

The mkpsxiso submodule is currently set to fetch from my fork. Changing it (or just updating the submodules to the latest version, as that's not done automatically) involves a few steps:

  1. Edit the URL and branch name in .gitmodules
  2. Run git submodule init and git submodule update --recursive --remote to update the submodule directory's contents and metadata
  3. Commit the updated files