mirror of
https://github.com/jfdelnero/HxCFloppyEmulator.git
synced 2026-07-28 04:06:36 +00:00
Added parameter to adfReleaseDevice declaration
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user