aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compilers')
-rw-r--r--lib/compilers/z88dk.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compilers/z88dk.ts b/lib/compilers/z88dk.ts
index be2c43734..9ee34b309 100644
--- a/lib/compilers/z88dk.ts
+++ b/lib/compilers/z88dk.ts
@@ -149,7 +149,7 @@ export class z88dkCompiler extends BaseCompiler {
if (result.code === 0 && filters.binary) {
const tapeFilepath = path.join(result.dirPath, this.getTapefilename());
- if (await utils.fileExists(this.getTapefilename())) {
+ if (await utils.fileExists(tapeFilepath)) {
const file_buffer = await fs.readFile(tapeFilepath);
const binary_base64 = file_buffer.toString('base64');
result.speccytape = binary_base64;