summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend
Commit message (Collapse)AuthorAgeFilesLines
* Filesystem-related bug fixes AJR2021-09-081-13/+15
| | | | | - Fix recently-introduced path-trashing bug in zippath_resolve - Prevent UI file select menu from crashing in error cases where no files can be found
* Allow devices to specify a parent for the purpose of searching for ROMs. Vas Crabb2021-09-061-19/+57
|
* -ui: Made zoom controls a bit more intuitive. Vas Crabb2021-09-062-101/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * The UI controls are described as zoom in/out, but they had the opposite effect on the palette and tile viewers. That has been changed to make them consistent with the tilemap viewer. * Made the default zoom key not act as a toggle. People are familiar with the function of Ctrl+0/=/- in web browsers, so making them behave similarly in MAME should make it more approachable. Also added the default zoom key to the relevant documentation page. * Implemented the default zoom key for the palette and tile viewers. * In the tilemap viewer, if the view is in default expand to fit mode, zoom in/out starting from the actual zoom ratio. Once again, this behaves more like the zoom controls in a web browser displaying an image so it should be more intuitive. * Made more messages from the tilemap viewer localisable. -util/zippath.cpp: Fixed MT08074. * There were multiple issues at play here. After #8443 was applied, is_root was simply never returning true on Windows, as OSD_WINDOWS isn't actually defined outside libosd and libocore. This caused phantom parent items to appear in disk roots on Windows, but it meant that the check in zippath_resolve would always fail so the trailing backslash would be trimmed. Fixing the macro test in is_root meant the trailing backslash from C:\ would no longer be trimmed, which caused the stat in zippath_resolve to fail. -bigbord2.cpp: Hooked up floppy DRQ that had somehow got lost. -Reduced tag map lookups in several drivers and devices. -util/coretmpl.h: Removed an overload of bitswap that can be avoided using if constexpr. -Added doxygen comments to some classes, and fixed several doxygen warnings. -util, osd: Test for _WIN32 rather than WIN32. * In C++17 mode, WIN32 is no longer a predefined macro, although various things in 3rdparty define it to maintain legacy support. We're better off moving forward anyway for when WIN32 disappears entirely. (WIN32 is not a reserved name, while _WIN32 is, starting with an underscore follwed by an uppercase letter.)
* Move endianness type into lib/util header AJR2021-08-311-11/+1
|
* -viewgfx: Added fractional zoom-out support to the tilemap viewer. Also ↵ MooglyGuy2021-08-311-48/+103
| | | | added IPT_UI_ZOOM_AUTO for toggling auto-zoom mode without needing to cycle through all zoom levels. [Ryan Holtz] (#8510)
* Add compile-time option to show visible annoying red border when sound is ↵ Aaron Giles2021-08-231-0/+16
| | | | overdriven. Leaving it on for a bit at the start of the cycle so that devs might identify and fix some of these cases.
* formats, osd, util: Started refactoring file I/O stuff. (#8456) Vas Crabb2021-08-2222-140/+102
| | | | | | | | | 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.
* Use std::clamp in more source files AJR2021-08-152-2/+3
|
* Debugger-related feature removals and cleanup AJR2021-08-151-2/+3
| | | | | | | | - Remove the hotspot read tracker. This was never robustly implemented, but changes to the memory system made it much less useful, and the "speedup opportunities" which it aimed to determine are not very important from a current emulation standpoint. - Remove the CURSP/GENSP state symbol and the generic sp() getter. Stacking semantics vary too much between CPU architectures for this to be of much use. (A "SP" symbol has been added to a few CPU cores whose stack pointers were otherwise not being registered.) - Remove the cached pointer to device_state_interface and the state() fast accessor from device_t. Most users of device_state_interface either already had a pointer to the specific CPU device type or needed to check first for the presence of the interface. - Change the PC memory write tracker to use pcbase(), which works even when the instruction callback is masked out, instead of peeking at the PC history index. - Remove some obsolete watchpoint-related definitions from machine.h.
* List shortnames of subdevices that have ROMs as part of -listroms header AJR2021-07-151-27/+58
|
* API cleanups and miscellaneous fixes. Vas Crabb2021-07-155-11/+11
| | | | | | | | | | | | | | | | emu/ioport.cpp: Allow controller files to override input sequences for inputs that don't use defaults, and to override the toggle setting for digital inputs. emu/config.cpp: Expose configuration level (mostly matters for controller files), improved verbose diagnostic messages, and moved a few things out of the global and preprocessor namespaces. docs: Added documentation for some controller configuration file features. The device mapping feature documentation will be merged in at some point. util/unicode.cpp, emu/input.cpp: API cleanups.
* frontend: On input mapping menus, use UI left/right to switch between ↵ Vas Crabb2021-06-243-11/+18
| | | | setting and appending to an input sequence.
* -Miscellaneous improvements for software lists: Vas Crabb2021-06-237-30/+29
| | | | | | | | | | | | * Show list name in software selection menu (machines have multiple lists). * Actually report software list parsing errors during validation. * Check that software list name attribute matches filename. * Limit software list names to 24 characters - they're getting too long, and they need to be practical in command lines. * c128.cpp: Fix dangling reference to renamed software list. -emu/ioport.cpp: Slightly better test for deselected slot cards.
* Allow saved states to be deleted from the internal UI. Vas Crabb2021-06-222-16/+110
|
* Added helpers for 64-bit count leading zeroes/ones. Vas Crabb2021-06-131-1/+1
|
* floppy: Change the formats from an intrusive list to a vector Olivier Galibert2021-05-274-29/+18
|
* ui: add reset to default to bios selection menu (the one from the TAB menu, ↵ hap2021-05-251-15/+40
| | | | not the popup when starting a machine)
* ui/selmenu.cpp: Don't make assumptions about what's off the end of a string ↵ Vas Crabb2021-05-231-1/+1
| | | | view (GitHub #7967).
* jasmin: Support write Olivier Galibert2021-05-161-6/+0
|
* imgcntrl.cpp: Workaround for MT #7978 AJR2021-05-151-0/+7
|
* slot: add preliminary support for hotswapping rom cartridge hap2021-05-041-0/+6
|
* layouts: Use self-closing tags for bounds and color elements. Vas Crabb2021-05-031-6/+9
|
* floppy: first steps on metadata, and hopefully make gcc happier on enumerate Olivier Galibert2021-04-281-2/+10
|
* floppy: start block-devicing fielsystem support Olivier Galibert2021-04-281-2/+2
|
* Add a couple error messages to emu.thread. Szunti2021-04-251-1/+9
| | | | | | Also changes exit(0) when the script of the thread returns non-string to an error message instead. exit stops the whole process not just the thread.
* media_ident: add space to prevent long strings concat when printing results hap2021-04-201-5/+5
|
* clifront: -romident has no use for mediapath, but it does use hashpath hap2021-04-201-1/+1
|
* ui: add message when trying to config unavailable machine inputs hap2021-04-171-3/+7
|
* Revert "ui: hide child nodes (collapse menu) if a .lay collection is disabled" hap2021-04-161-2/+1
| | | | This reverts commit 0e8a9b2f92566ff201fe8efbfff079f420b656da.
* ui: hide child nodes (collapse menu) if a .lay collection is disabled hap2021-04-151-1/+2
|
* floppycntrl.cpp: Fix mistake in 2f4d7eec4e3faeab1d95ece39cfb80263d792909 AJR2021-04-151-1/+1
|
* Allow UI file manager to create floppy images before machine is started AJR2021-04-141-2/+6
|
* ui: add separator before 'return to previous menu' hap2021-04-126-4/+18
|
* Allow breaking into main menu before the machine fully starts (i.e. just ↵ AJR2021-04-092-5/+27
| | | | | | before the initial soft reset) by using the normal "Config Menu" UI input Note that the minor code shuffling in machine.cpp is necessary to prevent emulation from getting confused if "Select New Game" happens to be selected.
* srcclean in preparation for release Vas Crabb2021-03-281-1/+1
|
* -ui: Added option to mute when unthrottled to advanced options menu. Vas Crabb2021-03-224-117/+130
| | | | * Also refactored slightly to avoid some initialisations before main.
* Addressed Github issue #7843 (mute on unthrottle) (#7875) MooglyGuy2021-03-224-1/+18
|
* Restore validation for command-line and .ini options (disabled since 0.188) ↵ AJR2021-03-211-1/+5
| | | | and make some errors non-fatal
* -A few incremental UI code improvements: Vas Crabb2021-03-123-20/+8
| | | | | | | | | * Simplified message when toggling UI controls. * Show actual configured UI toggle key, not misleading hard-coded text. * Push window activated/deactivated events to UI manager. * Simplified SDL window event handling code - events are pretty precise. -Miscellaneous code cleanup.
* floppy: Beginning of the support for preformatted floppy images. Olivier Galibert2021-03-054-1/+98
| | | | | | What's missing: - parameters (like the disk name when it exists) - possibly a cleanup of ram_open and friends (but not sure of the appropriate direction in which to go)
* ui audit: tell user to get the correct files hap2021-03-042-3/+3
|
* moptions: Fixed a spelling mistake. Robbbert2021-02-211-1/+1
|
* Fix exception in debug build when selecting machine category filter AJR2021-02-201-1/+1
|
* Make -listmedia compatible with grep/find Robbbert2021-02-201-1/+1
| | | | | | | | Examples: List all systems with .tap support: mame -listmedia | find ".tap" List all systems with paper tape reader: mame -listmedia | grep (ptap
* frontend: Added a few more driver flags to -listxml output. (#7731) npwoods2021-02-181-0/+16
|
* frontend/ui: Improved messages displayed when files are missing. Vas Crabb2021-02-154-40/+101
| | | | | | | * Only show things preventing launch in UI (not NO_DUMP, optional, etc.) * Don't show details like file lengths and checksums in UI * Actually do system audit when launching from favourites * Log the more detailed summary at info level
* Eliminate ARRAY_LENGTH template in favor of C++17's std::size AJR2021-02-149-30/+25
| | | | | | | | | | * osdcomm.h: Move definition of EQUIVALENT_ARRAY to coretmpl.h * sharc.cpp, gt64xxx.cpp, ym2413.cpp, gb_lcd.cpp, snes_ppu.cpp: Use STRUCT_MEMBER for save state registration * gio/newport.cpp, megadrive/svp.cpp, nes_ctrl/bcbattle.cpp, arm7.cpp, tms9995.cpp, pckeybrd.cpp, sa1110.cpp, sa1111.cpp, jangou_blitter.cpp, vic4567.cpp: Use std::fill(_n) instead of memset * emucore.h: Remove obsolete typedef
* confswitch: Coverity 316067 Robbbert2021-02-141-2/+0
|
* custui: Coverity 316207 Robbbert2021-02-131-0/+1
|
* Use std::clamp in various core functions AJR2021-02-031-10/+10
|