loadsave.c: Add functions to open file with alternate extension.

Used by CPC format which are in several files :
PPH format uses PPH, ODD, EVE
CM5 uses CM5 + GFX
This commit is contained in:
Thomas Bernard
2018-02-17 16:05:42 +01:00
parent fda4708756
commit be824627ce
6 changed files with 257 additions and 117 deletions

View File

@@ -267,6 +267,13 @@ FILE * Open_file_write(T_IO_Context *context);
/// For use by Load_XXX() and Test_XXX() functions
FILE * Open_file_read(T_IO_Context *context);
/// For use by Load_XXX() and Test_XXX() functions
FILE * Open_file_read_with_alternate_ext(T_IO_Context *context, const char * ext);
/// For use by Save_XXX() functions
void Remove_file(T_IO_Context *context);
/// For use by Save_XXX() functions
FILE * Open_file_write_with_alternate_ext(T_IO_Context *context, const char * ext);
#endif