Load trap not enabled if currah rom paged in

This commit is contained in:
fabio.olimpieri 2014-05-18 11:46:52 +00:00
parent 47dac68363
commit 66bf1e9120

View File

@ -1698,7 +1698,7 @@ int main(int argc,char *argv[])
/* if PC is 0x056c, a call to LD_BYTES has been made, so if /* 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 */ 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.tap_file!=NULL)
{ {
if (ordenador.pause_fastload_countdwn==0) 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 /* 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 */ 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) if(ordenador.tap_file!=NULL)
save_file(ordenador.tap_file); save_file(ordenador.tap_file);
else { else {