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() new args #49

Closed slinga-homebrew closed 3 years ago

slinga-homebrew commented 3 years ago

I need to be able to set the language for saves. Japanese saves have Japanese comments. Without setting the save language to Japanese they do not render correctly in the BIOS.

johannes-fetz commented 3 years ago

I will push a better implementation

johannes-fetz commented 3 years ago

jo_backup bkp;

jo_backup_init_file(&bkp);
bkp.fname = "TEST.BKP";

... jo_backup_save(&bkp);

johannes-fetz commented 3 years ago

You can set language using jo-engine abstraction or native and same for the save date

johannes-fetz commented 3 years ago

I deleted jo_backup_save_file_contents_on_partition(). Use jo_backup_save() instead

slinga-homebrew commented 3 years ago

Thank you!