diff options
author | 2021-01-09 21:41:19 +0100 | |
---|---|---|
committer | 2021-01-09 21:42:29 +0100 | |
commit | 23af0ace46f4ac4c1b916f5dcba5ee82b7eff361 (patch) | |
tree | 9e152ea70cb0f60315ffb4d9b5a8c38ee0b58d06 /src/lib/formats/upd765_dsk.cpp | |
parent | 31390d3f3e1fd4ad4631115b1f1a2c68f419179d (diff) |
Provide the variants to the floppy formats
Diffstat (limited to 'src/lib/formats/upd765_dsk.cpp')
-rw-r--r-- | src/lib/formats/upd765_dsk.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/formats/upd765_dsk.cpp b/src/lib/formats/upd765_dsk.cpp index 4265aea6a36..8676c4b9f63 100644 --- a/src/lib/formats/upd765_dsk.cpp +++ b/src/lib/formats/upd765_dsk.cpp @@ -29,7 +29,7 @@ int upd765_format::find_size(io_generic *io, uint32_t form_factor) const return -1; } -int upd765_format::identify(io_generic *io, uint32_t form_factor) +int upd765_format::identify(io_generic *io, uint32_t form_factor, const std::vector<uint32_t> &variants) { int type = find_size(io, form_factor); @@ -173,7 +173,7 @@ floppy_image_format_t::desc_e* upd765_format::get_desc_mfm(const format &f, int return desc; } -bool upd765_format::load(io_generic *io, uint32_t form_factor, floppy_image *image) +bool upd765_format::load(io_generic *io, uint32_t form_factor, const std::vector<uint32_t> &variants, floppy_image *image) { int type = find_size(io, form_factor); if(type == -1) @@ -234,7 +234,7 @@ bool upd765_format::supports_save() const return true; } -bool upd765_format::save(io_generic *io, floppy_image *image) +bool upd765_format::save(io_generic *io, const std::vector<uint32_t> &variants, floppy_image *image) { // Count the number of formats int formats_count; |