Merge pull request #216 from bentley/master

Small fixes
This commit is contained in:
StapleButter 2017-12-12 02:34:00 +01:00 committed by GitHub
commit fff4ca0c95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -178,7 +178,7 @@ void SetMemoryType()
} }
else else
{ {
printf("bad save size %X. assuming EEPROM 64K\n"); printf("bad save size %X. assuming EEPROM 64K\n", Discover_LikelySize);
Discover_MemoryType = 2; Discover_MemoryType = 2;
} }
} }

View File

@ -234,7 +234,7 @@ void SetIRQ14(int source) // 0=USCOMPARE 1=BEACONCOUNT 2=forced
if (BlockBeaconIRQ14 && source == 1) if (BlockBeaconIRQ14 && source == 1)
return; return;
if (!(IOPORT(W_USCompareCnt)) & 0x0001) if (!(IOPORT(W_USCompareCnt) & 0x0001))
return; return;
SetIRQ(14); SetIRQ(14);