Don't call InvertPixelArray with negative width and/or height.
[tangerine.git] / workbench / c / HDTool / deviceio.h
blobf1e34874a749ef07e71f9955a479e909cc10cb12
1 #ifndef DEVICEIO_H
2 #define DEVICEIO_H
4 #include <devices/trackdisk.h>
5 #include <exec/ports.h>
7 struct DeviceIO {
8 struct IOExtTD *iotd;
9 struct MsgPort *mp;
12 BOOL openIO(struct DeviceIO *, STRPTR, ULONG);
13 void closeIO(struct DeviceIO *);
14 BOOL iscorrectType(struct IOExtTD *);
15 BOOL identify(struct IOExtTD *, STRPTR);
17 #endif /* DEVICEIO_H */