From 66bf1e91203ba8e82ced99640efe30526c025677 Mon Sep 17 00:00:00 2001 From: "fabio.olimpieri" Date: Sun, 18 May 2014 11:46:52 +0000 Subject: [PATCH] Load trap not enabled if currah rom paged in --- src/emulator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/emulator.c b/src/emulator.c index 4d2a767..db08062 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -1698,7 +1698,7 @@ int main(int argc,char *argv[]) /* if PC is 0x056c, a call to LD_BYTES has been made, so if FAST_LOAD is 1, we must load the block in memory and return */ - if((!ordenador.mdr_paged)&&(PC==0x056c) && (ordenador.tape_fast_load==1)&&(ordenador.tape_stop_fast == 0)) { + if((!ordenador.mdr_paged)&&(!ordenador.currah_paged)&&(PC==0x056c) && (ordenador.tape_fast_load==1)&&(ordenador.tape_stop_fast == 0)) { if (ordenador.tap_file!=NULL) { if (ordenador.pause_fastload_countdwn==0) @@ -1725,7 +1725,7 @@ int main(int argc,char *argv[]) /* if PC is 0x04C2, a call to SA_BYTES has been made, so if we want to save to the TAP file, we do it */ - if((!ordenador.mdr_paged)&&(PC==0x04C2)&&(ordenador.tape_write==1)&&(ordenador.tape_file_type==TAP_TAP)) { + if((!ordenador.mdr_paged)&&(!ordenador.currah_paged)&&(PC==0x04C2)&&(ordenador.tape_write==1)&&(ordenador.tape_file_type==TAP_TAP)) { if(ordenador.tap_file!=NULL) save_file(ordenador.tap_file); else {