summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into time-experiments2 Aaron Giles2021-09-1047-842/+923
|\
| * -ui: Made zoom controls a bit more intuitive. Vas Crabb2021-09-065-35/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.)
| * fixes for building with clang 12.0.1 on windows smf-2021-09-042-3/+1
| |
| * -bgfx: Switched fs_blit_palette16 to expand bitmap_ind16 contents to R8. ↵ MooglyGuy2021-09-0410-43/+75
| | | | | | | | Fixes vertical off-by-one shift in games with an odd pixel count along X. [Ryan Holtz] (#8528)
| * Use D32F texture format instead of D24, should fix AMD hardware (#8516) Julian Sikorski2021-08-301-2/+2
| |
| * -bgfx: Fixed UV rounding errors in fs_blit_palette16; Switched back to ↵ MooglyGuy2021-08-302-22/+10
| | | | | | | | direct texture upload rather than CPU copy. (#8505) [Ryan Holtz]
| * debugger/debuggdbstub.cpp: Initialise m_readbuf_state on construction. (#8498) Alex Siryi2021-08-291-0/+1
| |
| * osd: Return would block when reading a socket with no data available - no ↵ Vas Crabb2021-08-272-2/+2
| | | | | | | | error can be confused with remote shutdown.
| * -bgfx: Revised fs_blit_palette16 to not use pixel rounding. Fixes issues in ↵ MooglyGuy2021-08-242-20/+32
| | | | | | | | carpolo, kncljoe, and others. [Ryan Holtz] (#8488)
| * formats, osd, util: Started refactoring file I/O stuff. (#8456) Vas Crabb2021-08-2216-629/+518
| | | | | | | | | | | | | | | | | | 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.
| * srcclean for upcoming release Vas Crabb2021-08-221-2/+2
| |
| * BGFX fixes for various backends (#8469) [Ryan Holtz] MooglyGuy2021-08-2017-80/+229
| | | | | | | | * Fixed palette and UYVY conversion in all backends. Fixes MT07760. * Fixed a typo in targetmanager.cpp, thanks LN for the heads-up.
| * debugger/win/memorywininfo.cpp: Fix build AJR2021-08-161-7/+7
| |
| * dvmemory: Substitute strongly typed enum for magic numbers specifying data ↵ AJR2021-08-166-66/+82
| | | | | | | | format
| * Use std::clamp in more source files AJR2021-08-156-10/+10
| |
| * Debugger-related feature removals and cleanup AJR2021-08-151-1/+2
| | | | | | | | | | | | | | | | - 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.
| * Remove not suported platform Miodrag Milanovic2021-08-151-5/+0
| |
* | Merge branch 'master' into time-experiments2 Aaron Giles2021-08-1422-798/+781
|\|
| * Updated help text for bgfx_backend Robbbert2021-08-131-1/+1
| |
| * Fix to make it work on windows Miodrag Milanovic2021-08-121-2/+0
| |
| * update shader.mk according to one in bgfx Miodrag Milanovic2021-08-101-23/+45
| |
| * Update debugimgui to compile with latest imgui MooglyGuy2021-08-101-2/+7
| |
| * fix OSD=mac compile [R. Belmont] arbee2021-07-311-1/+3
| |
| * Slightly cleaned up OSD input modules. Vas Crabb2021-07-2916-744/+694
| | | | | | | | | | | | | | | | | | | | Removed support for DirectInput 7 and earlier. It hasn't been tested in years, and it's not relevant on any supported OS. DirectInput is effectively finalised at version 8, and is unlikely to get an API update in the future. Use more string[_view] and fewer C strings, and tightened up scope of a few things.
| * debugimgui: fix mount and create image dialogs. Barry Rodewald2021-07-251-5/+13
| |
| * API cleanups and miscellaneous fixes. Vas Crabb2021-07-152-18/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Eliminate remaining uses of auto_alloc and friends (#8210) Aaron Giles2021-06-221-6/+8
| | | | | | | | | | | | | | * Split off auto_alloc changes from deprecated branch. * Make the keymap reader non-static so it can access the unique_ptr. * Fix SDL input for real.
* | Merge branch 'master' into time-experiments2 Aaron Giles2021-06-046-24/+124
|\|
| * floppy: Change the formats from an intrusive list to a vector Olivier Galibert2021-05-271-2/+1
| |
| * Fix crashes in Qt debugger caused by trying to select a nonexistent ↵ AJR2021-05-112-16/+22
| | | | | | | | disassembly or memory view
| * osx/sdl - handle caps lock key up events via a frame callback instead of the ↵ ksherlock2021-04-281-0/+28
| | | | | | | | sdl key up event (which is too fast) (#7972)
| * srcclean in preparation for branching release Vas Crabb2021-04-251-6/+6
| |
| * -cpu/score: Added bittgl! opcode. Sandro Ronco2021-04-241-0/+67
| | | | | | | | -debuggdbstub.cpp: add score7 registers map.
* | Clean up debug_flags access. Aaron Giles2021-04-241-1/+1
| |
* | You know, if I'm nice enough to give you an accessor, please use it. Aaron Giles2021-04-241-1/+1
| |
* | Merge branch 'master' into time-experiments2 Aaron Giles2021-04-232-0/+408
|\|
| * sound: Pulseaudio support Olivier Galibert2021-04-162-0/+408
| |
* | Save states working again. Changed to save persistent timers directly, using ↵ Aaron Giles2021-04-131-1/+1
| | | | | | | | the save buffer only for transient timers. Now saving quantum state as well. Switched to using an array for that.
* | Merge branch 'master' into time-experiments2 Aaron Giles2021-04-0810-73/+275
|\|
| * Changed audio_latency valid range from 1-5 to 0-5 (#7916) 9871238791132021-04-013-3/+5
| |
| * bgfx: Fixed crt-geom{,-deluxe} shader compilation and recompiled shaders. Vas Crabb2021-03-202-2/+2
| |
| * bgfx: crt-geom and crt-geom-deluxe enhancements (#7872) cgwg2021-03-207-70/+270
| | | | | | | | | | | | * Made spot size parameters adjustable also increased samples from 2 to 3 scanlines for crt-geom-deluxe. * Made horizontal interpolation adjustable. * bgfx crt-geom-deluxe: Made phosphor decay smoothly to zero at specified cutoff time. * bgfx crt-geom-deluxe: Added lowpass filter.
* | Switch out attoseconds in favor of more abstract subseconds. Update everyone ↵ Aaron Giles2021-04-022-2/+2
| | | | | | | | to use subseconds abstractly where possible. Builds, and many games work, but some are failing, so there be dragons here.
* | Made m_seconds and m_attoseconds private members to allow for future ↵ Aaron Giles2021-03-171-1/+1
|/ | | | abstractions.
* -A few incremental UI code improvements: Vas Crabb2021-03-122-25/+13
| | | | | | | | | * 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.
* srcclean in preparation for branching release Vas Crabb2021-02-211-2/+2
|
* bgfx png: The message parameters were the wrong way around. Robbbert2021-02-211-1/+1
|
* bgfx: crt-geom and crt-geom-deluxe enhancements (#7766) cgwg2021-02-214-33/+248
| | | | | | | Added a "brightness boost" feature for the shadow mask that works by making the brightness ratio between bright and dark mask pixels closer to 1 for the brighter parts of the image. Added clamping to zero so that underscanning produces a black border. Added a "raster bloom" effect to crt-geom-deluxe that makes the image grow slightly when the average brightness of the screen is high, mimicking a common defect in CRTs.
* add m68000 to debuger gdbstub nabetse2021-02-151-0/+29
|
* Eliminate ARRAY_LENGTH template in favor of C++17's std::size AJR2021-02-1415-25/+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