Added parameter to adfReleaseDevice declaration

This commit is contained in:
Damian R
2025-05-10 17:54:16 +09:00
parent 0a8f492d9b
commit 8302f4e633
2 changed files with 2 additions and 2 deletions
@@ -209,7 +209,7 @@ The structure 'struct nativeFunctions' must have at least :
BOOL (*adfNativeReadSector)(struct Device*, long, int, unsigned char*)
BOOL (*adfNativeWriteSector)(struct Device*, long, int, unsigned char*)
BOOL (*adfIsDevNative)(char*)
void (*adfReleaseDevice)()
void (*adfReleaseDevice)(struct Device *)
For example, adfMountDev() calls adfInitDevice() this way :
@@ -54,7 +54,7 @@ struct nativeFunctions{
/* called by adfMount() */
BOOL (*adfIsDevNative)(char*);
/* called by adfUnMount() */
RETCODE (*adfReleaseDevice)();
RETCODE (*adfReleaseDevice)(struct Device *);
};
void adfInitNativeFct();