johannes-fetz / joengine

Jo Engine is an open source 2D and 3D game engine for the Sega Saturn written in C under MIT license
http://jo-engine.org/
MIT License
208 stars 32 forks source link

Backup: jo_backup_save_file_contents() length fix #44

Closed slinga-homebrew closed 3 years ago

slinga-homebrew commented 3 years ago

Currently jo_backup_save_file_contents() takes the content length as an unsigned short for a maximum of 64k saves. Unfortunately saves appear to be as large as 256k. Changing the function parameter to unsigned int fixes the issue.