mirror of
https://github.com/Michaelangel007/apple2_gumball.git
synced 2024-12-21 02:29:45 +00:00
Fix use command line alt. filename
This commit is contained in:
parent
6a87e4269e
commit
18d03aef88
@ -24,10 +24,14 @@
|
||||
int main( const int nArg, const char *aArg[] )
|
||||
{
|
||||
const char *name = "gumball.fragment.1.1800";
|
||||
FILE *in = fopen( name, "rb" );
|
||||
|
||||
if( nArg > 1 )
|
||||
name = aArg[1];
|
||||
{
|
||||
name = aArg[1];
|
||||
printf( "Filename: %s\n", name );
|
||||
}
|
||||
|
||||
FILE *in = fopen( name, "rb" );
|
||||
|
||||
if( in )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user