Skip to content

Commit

Permalink
Bug fix: load "test.bas" attempts to load test.bas.prg
Browse files Browse the repository at this point in the history
  • Loading branch information
daitangio committed May 19, 2020
1 parent dae8467 commit a711adc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyc64/realemulator.py
Expand Up @@ -173,7 +173,7 @@ def get_filename(self,fnaddr,fnlen,cpu):
fname=""
for i in range(0,fnlen):
fname=fname + chr(cpu.ByteAt(fnaddr+i)).lower()
if not fname.endswith(".prg") and fname!="$":
if fname!="$" and ("." not in fname):
fname=fname+".prg"
return fname

Expand Down

0 comments on commit a711adc

Please sign in to comment.