summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/apridisk.cpp
Commit message (Collapse)AuthorAgeFilesLines
* util/ioprocs.cpp: Added wrappers for common patterns. (#11608) Vas Crabb2024-02-251-7/+6
| | | | | emu/diimage.h: Removed fread overloads that allocate memory for output. util/core_file.cpp: Changed output size of load to size_t.
* Floppy format API refinements AJR2023-10-081-5/+5
| | | | | - Add noexcept to format information overrides and several simple floppy_image accessors. - Be more const-correct and use references instead of raw pointers wherever applicable. In particular, floppy_image_device::load and floppy_image_device::save now take a reference to floppy_image rather than a pointer, const-qualified in the latter case.
* imageutl.h: Retire pick_integer_[bl]e and place_integer_[bl]e in favor of ↵ AJR2023-09-171-10/+11
| | | | | | the simpler functions in multibyte.h * multibyte.h: Add constexpr for getters and noexcept for all functions
* floppy: remove the intermediate allocator Olivier Galibert2022-03-301-1/+1
|
* Constify the floppy image handling interface Olivier Galibert2022-03-301-7/+2
|
* formats, osd, util: Started refactoring file I/O stuff. (#8456) Vas Crabb2021-08-221-8/+16
| | | | | | | | | Added more modern generic I/O interfaces with implementation backed by stdio, osd_file and core_file, replacing io_generic. Also replaced core_file's build-in zlib compression with a filter. unzip.cpp, un7z.cpp: Added option to supply abstract I/O interface rather than filename. Converted osd_file, core_file, archive_file, chd_file and device_image_interface to use std::error_condition rather than their own error enums. Allow mounting TI-99 RPK from inside archives.
* Provide the variants to the floppy formats Olivier Galibert2021-01-091-3/+3
|
* formats/apridisk.cpp: Don't use megabytes of stack space. Vas Crabb2020-10-101-2/+2
|
* formats: Removed some inappropriate uses of emu_fatalerror and stderr. Vas Crabb2020-08-231-4/+6
|
* (nw) formats: reduce dependencies on libemu Vas Crabb2020-04-131-4/+7
| | | | | | | | | | | The only link dependency left is emu_fatalerror. The format handlers really shouldn't be throwing fatal errors at all - they should just fail to load an image they can't handle. Maybe the interface should be enhanced to allow better propagation of errors up from the format handlers so they can be displayed in a UI rather than just logged. The only other two dependencies are on logmacro.h (pure macros) and the PAIR type from emucore.h (possibly worth moving to util).
* formats/apridisk.cpp: fixed compile Ivan Vangelista2020-04-131-0/+1
| | | | | ../../../../../src/lib/formats/apridisk.cpp: In member function 'virtual bool apridisk_format::load(io_generic*, uint32_t, floppy_image*)': ../../../../../src/lib/formats/apridisk.cpp:99:7: error: 'fatalerror' was not declared in this scope; did you mean 'strerror'?
* With permission from Dirk Best, apply 3-clause BSD license to common devices ↵ Vas Crabb2020-04-131-2/+1
| | | | | | and image handling (nw) Note that this does not apply to machine drivers or device implementations for a single machine family (e.g. Amiga chips or VTech expansion bus)
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-17/+17
| | | | | Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
* fix after pass through the diff Vas Crabb2016-08-011-3/+3
|
* std::min and std:max instead of MIN and MAX, also some more macros converted ↵ Miodrag Milanovic2016-07-311-3/+3
| | | | to inline functions (nw)
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-0/+148