Added parsing of arguments to --read. The explicit format spec is currently
broken. git-svn-id: svn://svn.cc65.org/cc65/trunk@5576 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -55,7 +55,7 @@ enum InputFormat {
|
||||
|
||||
ifCount /* Number of actual input formats w/o ifAuto*/
|
||||
};
|
||||
typedef enum InputFormat InputFormat;
|
||||
typedef enum InputFormat InputFormat;
|
||||
|
||||
|
||||
|
||||
@@ -66,6 +66,11 @@ typedef enum InputFormat InputFormat;
|
||||
|
||||
|
||||
|
||||
int FindInputFormat (const char* Name);
|
||||
/* Find an input format by name. The function returns a value less than zero
|
||||
* if Name is not a known input format.
|
||||
*/
|
||||
|
||||
Bitmap* ReadInputFile (const char* Name, InputFormat Format);
|
||||
/* Read a bitmap from a file and return it. If Format is ifAuto, the routine
|
||||
* tries to determine the format from the file name extension.
|
||||
|
||||
Reference in New Issue
Block a user