summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd
Commit message (Collapse)AuthorAgeFilesLines
* pipewire: remove PW_STREAM_FLAG_RT_PROCESS flag due to race condition ↵ hap2026-05-051-2/+2
| | | | (abuffer get & push)
* sdl3: Actually set the "key hold down disable" hint for macOS. (Github ↵ arbee2026-04-261-1/+1
| | | | #15239) [R. Belmont]
* sound_module: remove 'internal' param from get() hap2026-04-252-5/+6
|
* -input/input_win32.cpp: Made Win32 lightgun module usable with pen/touch. Vas Crabb2026-04-188-40/+268
| | | | | | | * windows/window.cpp: Forward pointer events to input modules. -igs/igs011.cpp: Bad graphics on dbc title screen is an original game bug.
* sound_module: fix std::memmove bytes param hap2026-04-161-2/+2
|
* windows/winmain.cpp: Use UTF-8 console I/O when built with UCRT. Vas Crabb2026-04-151-8/+17
|
* adcanoe: corrections to dipswitches [Wayder], hap2026-04-081-1/+1
| | | | taitosj: small cleanup to input ports, fix array OOB access on sprite bitmap
* debugger/qt: Fixed build with Qt 6 on AArch64. Vas Crabb2026-04-073-6/+18
|
* sound/xaudio2_sound.cpp: Added noexcept specifier for XAudio2 engine ↵ Patrick Mackinlay2026-04-061-4/+4
| | | | callbacks. (#15195)
* Cleaned up unsupportable legacy stuff: Vas Crabb2026-04-064-95/+3
| | | | | | | | | | | | | | | | | | | | cpu/drcbex86.cpp: Removed i686 recompiler back-end. Without a practical way to make Windows i686 builds, it's just going to rot. Also, x86-64 is now older than Pac-Man was when MAME was initially created. It's dead on the desktop tools: Removed aueffectutil - it's no longer useful. emu/video/rgbutil.cpp: Removed Altivec/VMX bilinear filtering implementation. PowerPC on desktop is dead. file/posixptty.cpp, sdl, sdl3, scripts: Removed support for SysV operating systems. They’re dead on the desktop. scripts: Removed outdated Lua compatibility macros. They weren't doing anything sice we updated to Lua 5.4 (the compatibility options changed, but we just left the old macros in place, which no longer had any effect).
* sound_module: update abuffer last sample on clear hap2026-04-051-2/+6
|
* sound_module: crossfade abuffer on overrun hap2026-04-052-25/+64
|
* Move build system adjusttment and fixes: Vas Crabb2026-04-055-30/+10
| | | | | | | | | * Bumped minimum clang version to 13 - clang 12 is just too buggy. * Assume Qt 6 will be used, dropped Qt 5 support. * Fixed finding Qt headers on Fedora and hopefully other distros. * Always use static SDL2 on Windows. * debugger/qt/debuggerview.cpp: Fixed build with Qt < 6.6. * imgtool/modules/vzdos.cpp: Fixed build with Linux GCC 11.
* netdev/pcap.cpp: Removed unused member variables. Vas Crabb2026-04-041-3/+1
|
* Fix up more stuff for upgraded tools, etc. Vas Crabb2026-04-045-5/+8
| | | | | | | | | | | docs: It's no longer possible to get a working Qt 5 setup with MSYS2, and there's no 32-bit Qt 6 package. Updated docs to reflect this. Use Qt 6 on Windows, use qmake to find moc. Fixed linking on Windows with static SDL3. input/input_dinput.cpp: Support SDL3.
* Various cleanups: Vas Crabb2026-04-042-12/+0
| | | | | | | | | | * emu/device.cpp: Take std::string_view tag in constructor. * emu/save.cpp: Cleaned up interface for reporting error messages. * docs: Cleaned up stuff that's no longer relevant. * machine/s3c44b0.cpp: Overhauled logging. * osd/modules/lib/osdobj_common.cpp: Removed CoreAudio options that no longer do anything. * Cleaned up some more stuff to prepare for 64-bit offs_t.
* frontend/mame/luaengine_debug.cpp: Got rid of another wannabe std::span. Vas Crabb2026-04-031-2/+2
| | | | | debugger/qt/deviceinformationwindow.cpp: Fixed another C++20 thing that apparently only breaks with some compiler/OS/Qt version combinations.
* sdl3: compile again on macOS with pre-3.4.0, and a minor cleanup. [R. Belmont] arbee2026-04-012-6/+1
|
* Switched language standard to C++20, bumped compiler requirement to GCC 11. ↵ Vas Crabb2026-04-023-18/+6
| | | | | | | | | | | (#15182) * Hackery to allow UTF-8 strings as well as plain strings: - emu/ioport.h: Allow char8_t for names in field configuration helper. - emu/device.h, emu/gamedrv.h: Allow char8_t for descriptions and manufacturers. - util/language.h: Allow char8_t message input. * util/strformat.h: Allow char8_t format and string arguments with char output. * ui/videoopt.cpp: Deal with UTF-8 strings as a distinct type. * osd/windows: Assume Windows 8 or later.
* Fixed things C++20 doesn't allow: Vas Crabb2026-03-294-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ui/info.cpp, imagedev/cassette.cpp: Deal with UTF-8 strings as a distint type. ui/inputmap.cpp, debugger/qt/dasmwindow.cpp, debugger/qt/mainwindow.cpp, sound/coreaudio_sound.cpp, cpu/drcbec.cpp, mit/tx0_v.cpp, konami/3dom2.cpp: machine/mc68328.cpp, cpu/mips/mips1.cpp, cpu/mips/r4000.cpp, cpu/romp, machine/cammu.cpp, machine/ns32081.cpp: Avoid arithmetic between different enum types. dec/pdp1.cpp, konami/firebeat.cpp, mit/tx0.cpp, sound/lc7535.cpp, sound/spkrdev.cpp: Avoid arithmetic between enum and floating point. gaelco/gaelco3d_m.cpp: Fixed deprecated uses of volatile variables. sound/discrete.h: Avoid comparing enum to floatint point. ui/toolbar.ipp: Don't use UTF-8 qualifier on pure ASCII strings, just assume char is ASCII-like. cpu/unsp: Use default constructor for compiler_state. sgi/pm2_mmu.cpp: Avoid conflict between file static access and identically named function in unistd.h. osd/interface/audio.h: Provide an explicit constructor. util/server_http_impl.hpp: Fixed uninitialised class member warning.
* osd/osdsync.cpp: Removed misguided qualifiers. Vas Crabb2026-03-241-6/+6
|
* debugger/osx: add Edit menu with clipboard shortcuts (#15134) Matt Furniss2026-03-221-1/+10
| | | | | | The macOS Cocoa debugger only adds Debug and Run menus to the menu bar, so standard Cmd+X/C/V shortcuts are never routed through the responder chain to the command input NSTextField. Add an Edit menu with Cut, Copy, and Paste items to enable clipboard operations.
* osd/sdl: process events after raising window on macOS to ensure input focus ↵ Matt Furniss2026-03-222-2/+22
| | | | | | | | | | | (#15132) On macOS, the window may not have acquired input focus by the time SDL_RaiseWindow returns. Pumping events after raising ensures the FOCUS_GAINED event is dequeued and m_focus_window is set before the input modules start polling, preventing the intermittent loss of keyboard and mouse input on startup. Fixes mamedev/mame#10612
* input/input_sdl3.cpp: pump CF run loop before enumerating game controllers ↵ Matt Furniss2026-03-211-0/+11
| | | | | | | | on macOS (#15129) On macOS, SDL3's GCController backend discovers USB game controllers asynchronously through the Core Foundation run loop. Without giving the run loop time to process, USB controllers (e.g. Xbox Series X/S) are not detected during initial enumeration.
* Ran srcclean across the source. Vas Crabb2026-03-221-2/+2
|
* Revert "sdl3_sound: don't hardcode max frames to 8" arbee2026-03-211-4/+3
| | | | | | This reverts commit 2ad7438fb07efd2ebcfa439f001522ad614cefcf. This is not the correct way to implement max_latency for SDL3.
* sdl3_sound: don't hardcode max frames to 8 hap2026-03-211-3/+4
|
* sdl3_sound.cpp: Rate-limit the output stream so it doesn't queue up to ↵ arbee2026-03-201-6/+14
| | | | infinity when you unthrottle. (MAMETesters #9401) [R. Belmont]
* sound abuffer: fix wrong assumption that samplerate is fixed at 48000 hap2026-03-1910-25/+27
|
* sdl3: Render OSD at native resolution on scaled high DPI displays (#15102) Valera Klachkov2026-03-147-10/+31
|
* sdl3: Fix black screen when launching with -video soft on MacOS (#15100) Valera Klachkov2026-03-141-0/+13
|
* sound abuffer: audio latency is a float hap2026-03-122-3/+3
|
* coreaudio: forward latency to abuffer hap2026-03-121-0/+1
|
* sound_module: update notes hap2026-03-122-10/+7
|
* sound abuffer: derive min_buffers from max_buffers, add over/underrun stats hap2026-03-122-12/+21
|
* sound: forward audio latency setting to abuffer hap2026-03-115-17/+37
|
* sound abuffer: it was still getting a buffer underrun sometimes after ↵ hap2026-03-111-5/+4
| | | | overflow when reduced to 1
* sound abuffer: after overflow, reduce buffers to 1 instead of clear hap2026-03-112-13/+21
|
* sound: change abuffer resync to more abrupt hap2026-03-112-17/+39
|
* Stop the windows debugger from crashing when using a widescreen monitor yz70s2026-03-091-4/+7
| | | | Happened with text windows wider that 256 characters
* Some fixes for -attach_window functionality under SDL3 (#15071) npwoods2026-03-082-14/+66
| | | | | | | | | * Some fixes for -attach_window functionality under SDL3 - Ensuring that when -attach_window that some inappropriate properties (e.g. - `SDL_PROP_WINDOW_CREATE_TITLE_STRING`) are not specified - Ensuring that under X11, we invoke `XSelectInput()` with our own mask rather than what SDL3 does by default - Windows support * Attempting to fix macOS specific warning
* sdl3: Set hint to disable the accents popup on macOS when holding down keys. ↵ arbee2026-02-281-1/+6
| | | | [R. Belmont]
* Implement SDL_MouseWheelEvent integer member fallback for version less than ↵ sairuk2026-02-252-0/+14
| | | | | 3.2.12 (#15024) * Add fallback for SDL_MouseWheelEvent when build with SDL3 < 3.2.12
* sdl3: Enable TEXT_INPUT events, fixes text input fields in the UI. [R. Belmont] arbee2026-02-141-0/+2
|
* input/input_sdl3.cpp: Fixed assert on new instance of joystick connected ↵ holub2026-02-121-1/+1
| | | | (#14956)
* sdl3: Fix key up not being sent on some systems. [R. Belmont] arbee2026-02-081-6/+3
|
* font_sdl3.cpp: Fix messed up comment. [skip ci] arbee2026-02-071-1/+1
|
* osd/windows: only clip the cursor if we haven't already (#14933) npwoods2026-02-072-1/+8
| | | On Windows, cursor clipping is global and needlessly invoking `ClipCursor(nullptr)` will interfere with other applications that might also be trying to clip the cursor. With this change, MAME will only invoke `ClipCursor(nullptr)` if MAME previously clipped the cursor.
* sdl3: Fix font lookup. [R. Belmont] arbee2026-02-072-20/+24
|
* Initial support for SDL3. [R. Belmont, Vas Crabb] arbee2026-02-0732-39/+9005
| | | | | | | | | * SDL3 is the default for macOS targets. Linux/Windows can build with OSD=sdl3 while we wait for better distro support for SDL3. Both X11 and Wayland sessions are fully supported on Linux. * SDL3 -sound=sdl supports both input and output. All other video, sound, and input functionality should otherwise be the same for now. SDL 3.4+ multiple keyboard/mouse support is planned.