Update cc65 pointer with PVSeek

This commit is contained in:
Byron Lathi
2023-12-04 00:13:16 -08:00
parent 5c74d161d4
commit 16a7f4db4d
4 changed files with 6 additions and 4 deletions

View File

@@ -16,6 +16,6 @@ uint16_t imulii(uint16_t a, uint16_t b) {
uint8_t SD_readSingleBlock(uint32_t addr, uint8_t *buf, uint8_t *error) {
FILE* f = fopen(FILE_PATH, "rb");
// fseek(f, addr * 512, SEEK_SET);
fseek(f, addr * 512, SEEK_SET);
fread(buf, 512, 1, f);
}