Shorten memory_ functions prefix to mem_ in memory.c
[emu8051.git] / src / common / hexfile.c
index 8967cf8..9fef693 100644 (file)
@@ -149,9 +149,9 @@ hexfile_load(const char *filename)
                if (rec_type == 0) {
                        for (j = 0; j < rec_len; j++) {
                                data = asciihex2int_len(&line[i], 2);
-                               memory_write8(PGM_MEM_ID,
-                                             (unsigned int) (load_offset + j),
-                                             (unsigned char) data);
+                               mem_write8(PGM_MEM_ID,
+                                          (unsigned int) (load_offset + j),
+                                          (unsigned char) data);
                                i += 2;
                                checksum += data;
                        }