summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/c4040_dsk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/formats/c4040_dsk.cpp')
-rw-r--r--src/lib/formats/c4040_dsk.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/formats/c4040_dsk.cpp b/src/lib/formats/c4040_dsk.cpp
index 8851f4db478..2c9368c2bb4 100644
--- a/src/lib/formats/c4040_dsk.cpp
+++ b/src/lib/formats/c4040_dsk.cpp
@@ -44,7 +44,7 @@ const int c4040_format::c4040_gap2[] =
12, 12, 12, 12, 12 // 31-35
};
-floppy_image_format_t::desc_e* c4040_format::get_sector_desc(const format &f, int &current_size, int sector_count, uint8_t id1, uint8_t id2, int gap_2)
+floppy_image_format_t::desc_e* c4040_format::get_sector_desc(const format &f, int &current_size, int sector_count, uint8_t id1, uint8_t id2, int gap_2) const
{
static floppy_image_format_t::desc_e desc[] = {
/* 00 */ { SECTOR_LOOP_START, 0, -1 },
@@ -79,7 +79,7 @@ floppy_image_format_t::desc_e* c4040_format::get_sector_desc(const format &f, in
return desc;
}
-void c4040_format::fix_end_gap(floppy_image_format_t::desc_e* desc, int remaining_size)
+void c4040_format::fix_end_gap(floppy_image_format_t::desc_e* desc, int remaining_size) const
{
desc[19].p2 = remaining_size / 10;
desc[20].p2 = remaining_size % 10;