--- hatari/src/includes/msa.h 2019/04/01 07:14:49 1.1.1.4 +++ hatari/src/includes/msa.h 2019/04/09 08:55:43 1.1.1.8 @@ -1,11 +1,11 @@ /* Hatari - msa.h - This file is distributed under the GNU Public License, version 2 or at - your option any later version. Read the file gpl.txt for details. + This file is distributed under the GNU General Public License, version 2 + or at your option any later version. Read the file gpl.txt for details. */ -extern bool MSA_FileNameIsMSA(char *pszFileName, bool bAllowGZ); -extern Uint8 *MSA_UnCompress(Uint8 *pMSAFile, long *pImageSize); -extern Uint8 *MSA_ReadDisk(char *pszFileName, long *pImageSize); -extern bool MSA_WriteDisk(char *pszFileName, Uint8 *pBuffer, int ImageSize); +extern bool MSA_FileNameIsMSA(const char *pszFileName, bool bAllowGZ); +extern Uint8 *MSA_UnCompress(Uint8 *pMSAFile, long *pImageSize, long nBytesLeft); +extern Uint8 *MSA_ReadDisk(int Drive, const char *pszFileName, long *pImageSize, int *pImageType); +extern bool MSA_WriteDisk(int Drive, const char *pszFileName, Uint8 *pBuffer, int ImageSize);