1
0
mirror of https://github.com/jscrane/r65emu.git synced 2024-06-18 14:29:32 +00:00
This commit is contained in:
steve 2023-09-30 13:37:08 +01:00
parent 78e3fff5c3
commit 53a16b3a29
2 changed files with 2 additions and 1 deletions

View File

@ -82,7 +82,7 @@ const char *flash_filer::advance() {
static char buf[32]; static char buf[32];
while (true) { while (true) {
if (dir.next()) { if (dir.next()) {
file = dir.openFile("rb+"); file = dir.openFile("r+");
break; break;
} }
dir = SPIFFS.openDir(_programs); dir = SPIFFS.openDir(_programs);

View File

@ -59,6 +59,7 @@ uint8_t PIA::read(Memory::address a) {
case 3: case 3:
return read_crb(); return read_crb();
} }
return 0xff;
} }
void PIA::checkpoint(Stream &s) { void PIA::checkpoint(Stream &s) {