summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* lib/netlist/build/create_lib_entries.py: fix missing EoF marker angelosa2025-08-311-2/+1
|
* palette: do assert() check before accessing array hap2025-08-041-38/+38
|
* formats/all.cpp: Include IPF, 86F disk formats in floptool (#13935) invertego2025-07-181-8/+5
| | | | | | | | | | | IPF is included unconditionally by scripts/formats.lua, so the HAS_FORMATS condition was always false. 86F is also included unconditionally but simply wasn't added to formats/all.cpp when it was introduced. I added 86F to the "Container FM/MFM" category for consistency with the grouping in devices/imagedev/floppy.cpp and moved IPF to the "PC" category for the same reason.
* (emu.h) resampler: don't repeat default settings at several places, remove ↵ hap2025-07-041-1/+1
| | | | | | unneeded float<->double conversions, filter/eq: round default q down instead of up (probably has no audible effect)
* tilemap: add callback for custom scrolling, and add one to k052109 for its ↵ hap2025-07-031-2/+2
| | | | combined col/rowscroll [hap, Jim Westfall]
* Various fixes: Vas Crabb2025-06-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ui: The new menus were unusable with a touchscreen, and not conducive to localisation. It's still not possible to add sound routes with a touchscreen, but at least it's possible to configure routes that exist. emu/sound.cpp: Fixed localisation issues, less temporary objects. emu/audio_effects: Fixed some localisation issues. plugins/autofire, plugins/inputmacro: Allow deleting autofire buttons or input macros without needing to use the UI Clear input. ui/selmenu.cpp, ui/imgcntrl.cpp: Use terse messages for bad media. Making these messages longer hasn't reduced support burden. Adding the version will just perpetuate the myth that you need to redownload all your ROMs for every release. ui/ui.cpp: Allow info screens to be dismissed by mouse clicks or touches. ui/sliders.cpp: Hiding the menu should preserve state. This is a design choice. sound: Avoid anything that could possibly depend on static initialisation order across transaltion units. Allow speaker position names to be localised. sound/none.cpp: Don't pretend it can create output streams.
* dipalette: add shadow config to savestates, and might as well rename hilight ↵ hap2025-06-241-1/+1
| | | | to highlight
* casio/fz1.cpp: Add floppy to FZ-1 and clones (#13849) Devin Acker2025-06-213-0/+78
| | | * fz1: drive select is not connected
* phc25: Invert cassette polarity. (#13755) Olivier Valentin2025-05-301-2/+2
|
* options: fix range checker with negative values hap2025-05-191-1/+1
|
* hxchfe: Do not exit for an unknown encoding, just inform. Michael Zapf2025-05-161-1/+2
|
* hxchfe_dsk: fix build Patrick Mackinlay2025-05-131-2/+2
|
* hxchfe: Reimplemented HxC floppy emulator HFE format. Michael Zapf2025-05-122-217/+707
|
* formats/tap: added warnings about wrong checksum and size of the image (#13641) holub2025-04-301-1/+4
|
* Make avi able to do more than stereo Olivier Galibert2025-04-281-1/+1
|
* formats/cassimg.cpp: Pass byte count to wave fill function for legacy ↵ holub2025-04-2637-93/+83
| | | | | cassette formats. (#13294) formats/tzx_cass.cpp: Check length of data read for TAP format blocks (fixes MT08952).
* Miscellaneous minor stuff: Vas Crabb2025-03-171-2/+6
| | | | | | | | * 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.
* fsblk.cpp: Internal overhaul AJR2025-03-0214-618/+474
| | | | | | | | - Replace custom reference counting wrapper with std::shared_ptr - Rename fsblk_t::block_t::copy to write and use it in a few more places - Add fsblk_t::block_t::read - Rename fsblk_t::block_t::offset and rooffset due to name collisions and privatize these helper functions - Rename fsblk_t::fill to fill_all for clarity's sake
* Cleaned up some stuff: Vas Crabb2025-03-011-19/+13
| | | | | | | | * 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.
* util/chd.cpp: Hacked around GitHub #13029 (issues creating delta CHDs). Vas Crabb2025-02-271-35/+41
| | | | | | | | | | | | 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.
* srcclean and cleanup. Vas Crabb2025-02-232-3/+3
|
* formats/fsblk.cpp: Replaced fs::err_t enum with a standard error condition ↵ ajrhacker2025-02-2212-427/+476
| | | | | category. (#13128) Also replace "invalid" error with more specific values.
* cdrom: fixed wrong track number in error messages [Robbbert] hap2025-02-211-14/+24
|
* Cleaned up some recent commits. Vas Crabb2025-02-071-22/+25
|
* -cpu/drcbex64.cpp: Fixed handling of address map global mask. Vas Crabb2025-02-062-20/+253
| | | | | | | | * 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.
* formats/h8_cas.cpp: Update H8T to newer cassette handling (#13250) Mark Garlanger2025-02-022-111/+52
|
* formats/tzx_cas.cpp: Fixed regression in TAP format; Added checksum ↵ holub2025-02-021-12/+38
| | | | validation (MT9104) (#13322)
* Fix up some stuff: Vas Crabb2025-01-311-11/+28
| | | | | | * formats/cassimg.cpp: Put allocation outside loop again, check more allocations for failure. * pc8801_flop.xml: Actually mark clones as clones, transliterate title for S.F.3.D. * apple/macadb.cpp: Tidy a little.
* formats/cassimg.cpp: prevent regression in cass images (#13292) holub2025-01-282-3/+15
|
* misc: correct "lenght" typo hap2025-01-282-4/+4
|
* formats/oric_tap.cpp, formats/uef_cas.cpp: Fixed build after #13289, tidied ↵ holub2025-01-282-101/+95
| | | | code. (#13290)
* lib/formats: Fix build after cdb94c2be58ccbc427871890017e2213ee634079 AJR2025-01-274-4/+5
|
* formats/tzx_cas.cpp: Cut data size in case header requesting more than ↵ holub2025-01-2738-60/+77
| | | | available (MT8952) (#13289)
* srcclean and manual cleanup Vas Crabb2025-01-261-1/+1
|
* util/corestr.cpp, sound/sdl_sound.cpp: Added missing standard library ↵ Julian Sikorski2025-01-211-0/+1
| | | | headers. (#13249)
* Tidy up some stuff. Vas Crabb2025-01-181-13/+20
|
* -cpu/drcbex64.cpp: Be nicer to the return address predictor. Vas Crabb2025-01-152-8/+8
| | | | | | -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.
* util/mfpresolve.h: Fix build with MSVC ABI. Vas Crabb2025-01-141-3/+3
| | | All ABI paths must be valid C++ - can't use a static assertion.
* util/mfpresolve.h: Linux wants <cstddef> for ptrdiff_t. Vas Crabb2025-01-141-1/+2
|
* -util/mfpresolve.cpp: Moved member function resolution code to a common ↵ Vas Crabb2025-01-143-200/+352
| | | | | | | | | | 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.
* formats/h17disk.cpp: Add format for Heath hard-sectored formats (#13222) Mark Garlanger2025-01-123-0/+293
| | | | | | | * formats/h17disk.cpp: Add format for Heath hard-sectored formats * fix compile error * minor formatting changes
* util/coretmpl.h: Added constexpr to the bitswap with explicit count. Vas Crabb2025-01-081-1/+1
| | | | This was a hangover from poor implementation of constexpr in older compilers.
* general: housekeeping and msvc warning elimination Patrick Mackinlay2025-01-031-1/+1
| | | | | | | * avoid potential unsafe use of bool * avoid potentially empty controlled statements * annotate some unused variables * remove some undefined functions
* formats/fs_vtech.cpp: Fix off-by-one error: end address is exclusive, not ↵ AJR2024-12-241-6/+6
| | | | inclusive
* formats/vt_dsk.cpp: Recognize .dvz extension AJR2024-12-231-1/+1
|
* formats/fs_vtech.cpp: Fixes and improvements AJR2024-12-233-12/+12
| | | | | - Fix incorrect directory sector offset value for file read/write operations - Allow file types other than T and B
* ap2_dsk.cpp: fix loading bardstl3 (#13055) Roman Donchenko2024-12-071-2/+4
| | | | | | | | I accidentally broke this in 47d8c69b, where I forgot to account for the "oddball" images from the software list. AFAICS, bardstl3 is the only software to be broken, because its images are _shorter_ than they're supposed to be. In addition, disk 3 of this image has a different size that's not listed in `identify()`, so it couldn't even be loaded before that commit. Fix that too.
* ap2_dsk.cpp/h: clean up constants (#13021) Roman Donchenko2024-12-072-105/+105
| | | | | | * convert `#define` to `constexpr`. * remove unused constants. * replace magic numbers with constants where appropriate. * Fix style issues.
* vt_dsk: Restore the newer bitstream generator, except for the part that was ↵ AJR2024-11-201-15/+27
| | | | actually broken
* vt_dsk: Regression fixes for loading and saving both disk formats AJR2024-11-201-26/+19
| | | | | - Remember to put in a flux change at the start of each bit - Revert flux_to_image bitstream generator to as it was before 08f28cee11ce94e6656d4924c7a3c30614811783 (new version simply didn't work)