Output to stdout if no output name given

git-svn-id: svn://svn.cc65.org/cc65/trunk@2429 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-09-04 08:25:43 +00:00
parent fff8289744
commit 020a583388
2 changed files with 12 additions and 11 deletions

View File

@@ -298,7 +298,7 @@ static void OneOpcode (unsigned RemainingBytes)
case atAddrTab:
AddrTable ();
break;
case atRtsTab:
RtsTable ();
break;
@@ -447,11 +447,6 @@ int main (int argc, char* argv [])
AbEnd ("No input file");
}
/* Make the output file name from the input file name if none was given */
if (OutFile == 0) {
OutFile = MakeFilename (InFile, OutExt);
}
/* If no CPU given, use the default CPU */
if (CPU == CPU_UNKNOWN) {
CPU = CPU_6502;