summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd
Commit message (Collapse)AuthorAgeFilesLines
* Added save state window to debugger. Centralized unique/vector/pointer ↵ Aaron Giles2021-04-128-0/+151
| | | | unwrapping.
* Changed audio_latency valid range from 1-5 to 0-5 (#7916) 9871238791132021-04-013-3/+5
|
* Disable sleep when using -bench. Aaron Giles2021-03-313-0/+3
|
* 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.
* -A few incremental UI code improvements: Vas Crabb2021-03-124-48/+42
| | | | | | | | | * 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-1418-44/+30
| | | | | | | | | | * 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
* #7711: lld seems to add a minimal symbol that the system libraries catch. Be ↵ Aaron Giles2021-02-061-5/+14
| | | | smarter about ignoring that.
* render/bgfx: Use platform-specific path separator more consistently AJR2021-02-051-1/+1
|
* render/bgfx: Fix failure to load texture .png files when -artpath contains ↵ AJR2021-02-031-45/+34
| | | | multiple directories
* coretmpl.h: Move lru_cache_map to separate header AJR2021-02-031-0/+1
|
* Debuger updates: Vas Crabb2021-01-306-77/+242
| | | | | * Improved behaviour of bottom line in Qt and win32 debugger views. * Ported memory tracking feature from Qt to win32 module.
* Bug fixes and usablility enhancements: Vas Crabb2021-01-296-47/+66
| | | | | | * Declare intent when requesting virtual memory (for NetBSD, 7712) * Improve scrolling behaviour in Qt debugger (MT07795) * Added prompts to input mapping menu to make it less intimidating
* Update "2020" text to "2021" (#7713) Stiletto2021-01-281-1/+1
| | | Update "2020" text to "2021".
* ui: Clean up slider callbacks AJR2021-01-278-85/+30
|
* -Qt debugger updates: Vas Crabb2021-01-2819-763/+739
| | | | | | | | * Added context menu with Copy Visible and Paste commands to debug views (partially addresses #6066). * Made memory view last PC display a context menu item. * Fixed crash on right-clicking a memory view showing something other than an address space. -debugger: Fixed commas in dumpkbd output.
* Goodbye 64 suffix on the main executable, it was nice knowing you. Vas Crabb2021-01-262-1/+23
| | | | | | If you want to build 64-bit and 32-bit in the same tree without them stomping on each other, use SEPARATE_BIN=1 (you already need to do this for TOOLS=1 anyway).
* win32 debugger: Added context menu with Copy Visible and Paste commands to ↵ Vas Crabb2021-01-262-30/+183
| | | | debug views (partially addresses #6066).
* srcclean in preparation for branching release Vas Crabb2021-01-24111-270/+271
|
* eigccarm.h: fix unterminated #if [R. Belmont] arbee2021-01-231-1/+1
|
* bgfx: Fixed overlapping register in lcd-grid shaders and compiled for ↵ Vas Crabb2021-01-231-1/+1
| | | | Direct3D, SPIR-V, Metal, etc.
* bgfx: Added lcd-grid shader. (#7691) cgwg2021-01-235-0/+156
| | | Note that this is currently only compiled for GLSL.
* -getaway.cpp: Fixed steering control. Vas Crabb2021-01-236-35/+107
| | | | | | | | | | * Works fine with an analog stick/wheel, difficult to steer on the slippery "dotted" surface with keyboard/D-pad. -osd: Moved GCC intrinsics out of eminline.h so MAME_NOASM will take the pure C++ implementation with GCC (makes testing the fallback easier). -Removed a bunch of [[maybe_unused]] that aren't actually needed.
* ATTR_UNUSED, do you welcome C++17 in your heart and mind? Olivier Galibert2021-01-224-6/+4
|
* osd: Rearranged window title to put system name first Vas Crabb2021-01-221-2/+3
|
* -osd/windows: Minimise full-screen windows on losing focus (#2997). Vas Crabb2021-01-2111-51/+53
| | | | | | | | -osd/modules/osdwindow.cpp: Clean up window title formatting. * Show data type model in window title. * Moved window title formatting to a single place. -tools/chdman.cpp: Removed some unnecessary .c_str() calls.
* Fix compile. RobertoFresca2021-01-211-1/+1
|
* Much more core std::string_view modernization AJR2021-01-2010-34/+38
| | | | | | | | | | | | | | | - Remove corestr.h from emu.h; update a few source files to not use it at all - Change strtrimspace, strtrimrightspace and core_filename_extract_* to be pure functions taking a std::string_view by value and returning the same type - Change strmakeupper and strmakelower to be pure functions taking a std::string_view and constructing a std::string - Remove the string-modifying version of zippath_parent - Change tag-based lookup functions in device_t to take std::string_view instead of const std::string & or const char * - Remove the subdevice tag cache from device_t (since device finders are now recommended) and replace it with a map covering directly owned subdevices only - Move the working directory setup method out of device_image_interface (only the UI seems to actually use the full version of this) - Change output_manager to use std::string_view for output name arguments - Change core_options to accept std::string_view for most name and value arguments (return values are still C strings for now) - Change miscellaneous other functions to accept std::string_view arguments - Remove a few string accessor macros from romload.h - Remove many unnecessary c_str() calls from logging/error messages
* osd: Make preprocessor usage a bit more consistent in inline utilties for ↵ Vas Crabb2021-01-182-4/+4
| | | | PPC/ARM.
* -osd: Clean up inline maths utilities. Vas Crabb2021-01-186-219/+509
| | | | | | | | | | * Removed inline assembly for operations compilers handle well. * Added ARM and AArch64 implementation for a few operations. * Added unsigned integer add with carry out operations. -cpu/drccache.cpp: Detect whether RWX pages are supported. -dynax.cpp: Improved a few hanafuda DIP switch descriptions.
* util/zippath.cpp: Fix suffix for zip archives. Vas Crabb2021-01-081-15/+6
|
* Tidy up loose ends: Vas Crabb2021-01-068-41/+124
| | | | | | | | * Fixed a couple of fixed-size buffers in Windows OSD code. * Marked MAME as aware of long paths in Windows manifest. * Made a cleaner, thread-safe API for getting volume names. * Added compile-time option to disable recompiler W^X mode. * NuBus image device current directory doesn't need to be pinned.
* Fix DRC build breakage under Emscripten. [Justin Kerk] Justin Kerk2021-01-061-0/+2
|
* osdwindow.cpp: Make monitor code a little safer AJR2021-01-051-1/+1
|
* cpu: Allow recompilers to work with W^X policy Vas Crabb2021-01-066-224/+352
|
* Second attempt at fixing Windows build (function is now defined in base class) AJR2021-01-052-2/+0
|
* Attempt at fixing Windows build AJR2021-01-051-1/+1
|
* osdwindow.cpp: Centralize basic functions; de-virtualize various getters AJR2021-01-0412-469/+249
|
* render.h, rendlay.h: Dependency refactoring AJR2021-01-042-0/+2
| | | | | - render.h: Split out layout class declarations into rendlay.h, with some adjustments for the resulting incomplete types (std::reference_wrapper unfortunately does not allow these by C++17 rules) - rendlay.h: Move old header contents to layout/generic.h
* windir.cpp, winrtdir.cpp: string_format calls need qualification now AJR2021-01-022-2/+2
|
* Low-level #include overhaul AJR2021-01-0222-384/+335
| | | | | | | - vecstream.h: Revert changes made in aa29519528cb3dbdbfac56819bea670ed8c56c5d. The std::string_view conversion has been made a non-member function (util::buf_to_string_view) and moved to coretmpl.h. - strformat.h: Remove the using declaration importing util::string_format into the global namespace. It has been moved to emucore.h and a few tool sources; other references have been qualified. - osdcore.h: Split out file, directory and path classes and methods to a new header (osdfile.h), Doxygenizing the documentation comments. - Disaggregate many #includes that were including other standard or custom headers. emu.h now includes basically the same things that it did, but other headers have been streamlined; for instance, emucore.h no longer stealth-includes osdcore.h several ways.
* Further additions of std::string_view AJR2021-01-011-1/+1
| | | | | | | - corefile.cpp, fileio.cpp: Change puts to take a std::string_view parameter - rendlay.cpp: Use std::string_view instead of bare pointers in various functions - vecstream.h: Add std::string_view conversion operator to obtain output buffer without needing to make it a C string with explicit null termination - xmlfile.cpp: Add get_attribute_string_ptr method that distinguishes between empty strings and absent attributes without falling back to C strings
* Temporary hack so most DRC games work on the M1/Apple Silicon. [R. Belmont, ↵ arbee2020-12-281-0/+5
| | | | balr0g, Vas Crabb]
* Modified crt-geom-deluxe to track the power-law fall-off for longer (up to ↵ cgwg2020-12-232-4/+14
| | | | | | 1024 frames). Ensured that the intensity falls to zero afterward. Note that this is currently only compiled for GLSL.
* bgfx/chainmanager.cpp: Remove another entirely useless string_format call AJR2020-12-211-1/+1
|
* util/png: Update add_text to take std::string_view for arguments AJR2020-12-211-2/+2
|