| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
debug) so it can be shown in release builds.
* Also use logmacro.h for compile-time configurable logging.
-util/ioprocs.cpp: Added assertion to write_at equivalent to the one in write.
* Checks for invalid results from underlying write call.
* Also more const.
|
|
|
|
|
|
|
|
| |
-util/ioprocs.cpp: Reverted gross hack.
-osd/windows: Ensure WM_MOUSE* to WM_POINTER* event translation is always disabled.
-tecmo/gaiden.cpp: Call base device_post_load(), use logmacro.h.
|
|
|
|
| |
error. Fixes lock-up writing to a write-protected image. [R. Belmont, Peter Ferrie]
|
|
|
|
|
| |
* olympia/dday.cpp: Correctly size the inappropriately named "color RAM".
* util/cdrom.cpp, formats/fs_fat.cpp: More const, less copying.
|
|
|
|
|
|
|
|
|
|
|
| |
CD-ROMs, indexes, and track flags (#12201)
* util/cdrom: Refactoring
* util/cdrom: Read all indexes from cue files
* util/cdrom: Read in track flags from cues
* util/cdrom: Multisession support for cues
* machine/t10mmc: Playback from current head, other misc cleanup
* machine/t10mmc: Implement T10MMC_CMD_MECHANISM_STATUS
* machine/t10mmc: Implement TOC_FORMAT_FULL_TOC, TOC_FORMAT_SESSIONS, and return proper indexes for T10MMC_CMD_READ_SUB_CHANNEL
|
|
|
|
| |
overridden virtual member functions.
|
| |
|
|
|
|
|
| |
cdrom_file::parse_metadata. (#12219)
Fixes issues with fields that are not explicitly assigned in all situation.
|
|
|
|
| |
certain GCC versions.
|
|
|
|
|
| |
cassette images in FLAC format. (#12115)
util/flac.cpp: Implemented seek/tell callbacks for FLAC library.
|
|
|
|
|
|
|
|
|
|
| |
#12081). (#12087)
This should greatly improve data integrity when creating and extracting GD-ROM images.
* util/cdrom.cpp: Refactored parse_cue to handle GD-ROMs.
* util/cdrom.cpp: Don't discard any data from GD-ROM cue/bin input including pre-gap data.
* tools/chdman.cpp: Fixed splitframes handling.
* tools/chdman.cpp: Added warning when extracting GD-ROM CHDs to cue/bin format.
|
|
|
|
| |
util::crc32_creator
|
|\ |
|
| |
| |
| | |
Fixes issues exposed when reading LaserDisc CHDs.
|
|/
|
|
|
| |
emu/diimage.h: Removed fread overloads that allocate memory for output.
util/core_file.cpp: Changed output size of load to size_t.
|
|
|
|
|
|
| |
writing. (#12057)
* In some cases, bits would be dropped when writing if there wasn't enough space in the buffer.
* Fixes bad hunk maps being written to CHD files and incorrect hunk map data being read.
|
|
|
|
|
|
|
|
|
| |
reading and writing. (#12057)"
This reverts commit 69c3cd7daba9e8dd130af167c27ecd8b4131074f.
This causes CHD SHA1 digests to change. Either it's buggy, or CHD SHA1
digests depend on the representation rather than the data itself.
|
|
|
|
|
|
| |
writing. (#12057)
* In some cases, bits would be dropped when writing if there wasn't enough space in the buffer.
* Fixes bad hunk maps being written to CHD files and incorrect hunk map data being read.
|
|
|
|
| |
#12023). (#12040)
|
|
|
|
| |
* util/options.h: Use forwarding header
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Support input start/size options for createdvd.
Fixed not reporting an error on unrecognised command line options.
Fixed --fix/-f option for verify command not working.
Report an error when conflicting options are supplied (e.g. hard disk
template and C/H/S geometry, or input start offset in both bytes and
hunks). Previously the results would be unpredictable.
Detect more invalid combinations of options, and detect when output unit
size or hunk size doesn't match parent.
Changed order of processing options for createhd so using a template
cannot not inadvertently result in an invalid combination of sector size
and hunk size.
Don't require an explicit unit size for createraw if an output parent
CHD file is supplied.
Fixed an object leak in createcd.
|
|
|
|
| |
tracks. (#12012)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
konami/hexion.cpp: Fixed a potential heap smash, and don't mark tiles
dirty unnecessarily.
konami/spy.cpp: Fixed video enable never being set to false, added an
object finder for ROM bank (reduce tag lookups).
tvgames/xavix.cpp: It's stylised "Hi-kara" (no capital K), software list
already uses this capitalisation.
rm/rm380z*: Added object finder for character generator ROM, slightly
cleaned up some code.
homelab/homelab.cpp: Avoid some literal sizes.
|
|
|
|
|
| |
Also made it possible to enable VERBOSE in cdrom.cpp without link
errors.
|
|
|
|
|
|
|
| |
ROM region.
* Reverted workaround 4c0957d7f0ba6a72e7267270db07ee06fe717109.
* Cleaned up a few things.
|
|
|
|
| |
* cfr. pcecd:cosmfnt and pcecd:solbianc
|
| |
|
|
|
|
| |
(#11848)
|
| |
|
| |
|
|
|
|
| |
format. (#11841)
|
|
|
|
|
|
| |
* 3rdparty/zstd: Added Zstandard compression library version 1.5.5.
* util/unzip.cpp: Added support for Zstandard compression (method 93).
* util/chdcodec.cpp: Added support for Zstandard compression.
* 3rdparty/flac: Always define NDEBUG to avoid log spam.
|
| |
|
|
|
|
| |
This reverts commit 901a68e2e0bb0d9178ffdb59e128718c1495250f.
|
|
|
|
| |
This reverts commit cc772072fa635146b1df39a5694d2a8f8aa5a34f.
|
|
|
|
|
|
|
| |
- Change is_XXX to return std::error_condition instead of bool so that errors can be passed down the line; rename these to check_is_XXX to indicate that they are no longer basic predicates
- Change return type of internal function metadata_find to std::error_condition so that errors can be returned rather than thrown
* imagedev/cdromimg.cpp: Fix bug where cdrom_file object could be constructed twice in a row for CD-ROMs and once for DVDs
|
|
|
|
|
|
|
|
|
| |
- Return std::error_condition from set_raw_sha1 and set_parent_sha1 instead of throwing exceptions
- Fix a few cases where error codes could be swallowed
- Catch exceptions in is_XXX predicates
- Add const qualifier to SHA-1 extraction methods
- Add noexcept qualifier to a few internal functions
- Clean up various comments
|
|
|
|
|
|
|
|
|
|
|
| |
* util/chd.cpp: Allow caller to provide a helper for finding parent CHDs
and expose (recursive) missing parent status.
* emu/romload.cpp: Search parent systems/devices/software for parent
CHDs on encountering a delta CHD.
* emu/romload.cpp: Report error on delta CHDs when parent can't be
found.
* emu/romload.cpp: Check parents for matching CHDs with different names
for devices as well as systems and software.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
render/drawbgfx.cpp: Return an error if Wayland EGL surface can't be
created for additional windows.
emu/emucore.h: Added explicitly defaulted copy and move constructors for
emu_fatalerror.
Fixed apparent misunderstanding of const. Returning const value types
and casting to const value types is pointless outside very narrow use
cases. Putting const value type parameters in interfaces just makes
trouble.
cpu/adsp2100: Use count_leading_ones_32 where it's simple rather than
inverting and counting leading zeroes.
util/multibyte.h: Don't pollute global namespace, constexpr implies
inline, make narrowing casts explicit.
imagedev/simh_tape_image.h: inline is implied for member functions with
bodies supplied at declaration.
Tidied up some ugly casts in various places.
|
| |
|
| |
|
| |
|
|
|
|
| |
* multibyte.h: Add functions for reading and writing 48-bit values
|
| |
|
|
|
|
| |
functions
|
|
|
|
|
|
| |
- Use multibyte.h functions and std::swap
- Turn most macro constants into enums and move them down into classes
- Change comments to C++ style
|
|
|
|
|
|
| |
the simpler functions in multibyte.h
* multibyte.h: Add constexpr for getters and noexcept for all functions
|
| |
|
|
|
|
| |
command. (#11499)
|
|
|
|
|
|
|
|
|
| |
* These helpers were unintuitive and inflexible. In particular, set_log
on a write handler would only log when the value is non-zero, which
doesn't appear to be the desired behaviour for several uses.
-util/options.cpp: Always leave a space between option and description
in usage messages (fixes GitHub #11438).
|