| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
* scripts/minimaws: Set option strict for JavaScript code.
* util/mfpresolve.h: Be explicit about turning nullptr into a pointer to
data.
* cpu/drcbearm64.cpp: Reduced number of temporary registers used for AND
with some operand combinations.
|
|
|
|
|
|
|
|
| |
* oberheim/xpander.cpp: Use multi-dimensional output finders algorithms
and range-based for loops.
* util/chd.cpp: Use a C++17ism to reduce if nesting a bit.
* sound/tms5220.cpp: Five an example VERBOSE value that will actually do
something rather than LOG_GENERAL which isn't used in the file at all.
|
|
|
|
|
|
|
|
|
|
|
|
| |
The code depends on getting away with trying to read at least one hunk
past the end of the parent CHD. Previously it just ignored any errors
from reading the parent CHD, but adding error checking broke it.
This hack just ignores that specific error. Also cleaned up some gross
flow control and made more things const.
The code should obviously be fixed properly, but that's non-trivial.
This gets it to a state no worse than it was in 0.270.
|
| |
|
|
|
|
|
|
|
|
| |
* Fixed Final Furlong failing to boot.
-util/mfpresolve.cpp, emu/emumem_aspace.cpp: Moved some member function
pointer manipulation stuff into the library. Gives another slight
reduction in the size of libemu.
|
|
|
|
| |
headers. (#13249)
|
|
|
|
|
|
| |
-cpu/drcbex86.cpp: Give hints to use short displacements for jumps to local unbound labels.
-util/mfpresolve.h: Use references for some things that must not be null pointers.
|
|
|
| |
All ABI paths must be valid C++ - can't use a static assertion.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
location.
* util/delegate.cpp, cpu/drcbex64.cpp, cpu/drcbearm64.cpp: Use common member function resolution code.
-cpu/drcbearm64.cpp, cpu/drcbex64.cpp, cpu/drcbex86.cpp: Moved some stuff to anonymous namespaces.
-cpu/drcbex64.cpp, cpu/drcbex86.cpp: Defer allocating labels if they aren't always needed.
|
|
|
|
| |
This was a hangover from poor implementation of constexpr in older compilers.
|
| |
|
|
|
|
|
|
|
| |
* Rewrote GDI parser to be more robust and identify more kinds of invalid input.
* Don't ignore the last line in CUE and TOC files if there is no terminating newline.
* Use osd_printf_ family functions for output.
-tools/chdman.cpp: Added a sink for osd_printf_ family function output.
|
|
|
|
|
|
|
| |
control flags in TOC files. (#12954)
* machine/t10mmc.cpp: Return dummy data for CD-TEXT format TOC read.
* machine/t10mmc.cpp: Fixed bug in track transition.
* util/cdrom.cpp: Handle track type and serial copy management flags in TOC file input.
|
|
|
|
| |
stuff with hunks.
|
|
|
|
| |
Also mark error paths as unexpected to optimise against them.
|
|
|
|
|
|
|
|
|
| |
- Have metadata_find return std::error_condition instead of throwing an exception
- Replace the is_XXX predicates with check_is_XXX methods that return a std::error_condition, enabling improved error reporting for cdrom_image_device
- Retain read error information in chd_file_compressor
- Make a bunch of methods noexcept
This mostly restores the changes from cc772072fa635146b1df39a5694d2a8f8aa5a34f.
|
|
|
|
|
|
| |
throwing exceptions. [AJR]
Mostly salvaged from 901a68e2e0bb0d9178ffdb59e128718c1495250f.
|
|
|
|
|
|
|
|
|
|
| |
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.
|