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

@@ -39,6 +39,9 @@ void Unicode_strlcat(word * dst, const word * src, size_t len);
/// Compare an unicode string with a regular Latin1 string
int Unicode_char_strcmp(const word * s1, const char * s2);
/// Compare an unicode string with a regular Latin1 string. Ignoring case
int Unicode_char_strcasecmp(const word * s1, const char * s2);
/// Copy a regular Latin1 string to an unicode string
void Unicode_char_strlcpy(word * dst, const char * src, size_t len);