| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
On Windows, the debugger has a special Windows-specific feature that drops the user into the debugger if the key sequence is pressed. This seems to be present so that the key sequence triggers dropping into the debugger not just from the main window, but also from debugger windows.
This has also created an oddity where pressing the debugger key sequence from a MAME window will cause a "User-initiated break" but pressing it from a debugger window will cause "Internal breakpoint" to be displayed.
However, while this logic has a check to not apply when to a MAME window, it seems to also activate even if MAME itself is not in focus. This change ensures that a stray debugger sequence in a completely unrelated application won't cause the user to be dropped in the debugger.
|
| |
|
|
| |
Light/Dark theme (#13909)
|
| |
|
|
| |
device. (#13908)
|
| | |
|
| |
|
|
| |
for duplicate device names
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
docs: Explicitly state that installing a read/write tap returns the
pass-through handler.
cpu/mb86235: Using lowercas integer literal suffixes hurts readability,
especially when it's 1ll (compare to 1LL, especially in a Courier-like
font).
video/ppu2c0x_vt.cpp: Look for the patterns.
mame.lst: Expunge comments that started creeping back in.
taito/taitotz.cpp: Use versions as printed on Taito's hard disk labels
in descriptions.
debug/win: Requiring every debugger window class to care about the
console window's views is bad design. That's a clear case of
unnecessary coupling.
posix/posixptty.cpp: Testing for glibc does not guarantee pty.h is
available. It's possible to build glibc for targets where its PTY
wrapper functions are not implemented.
|
| |
|
|
| |
obvious typo.
|
| | |
|
| |
|
|
| |
-Metadata corrections, missed srccleanin.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
| |
channel_position constructor initializing after initializing array of channel_position in sound backends)
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
* Support Issue 8 TTY_NAME_MAX/ptsname_r and pre-standard ptsname_r.
* Set termios flags directly rather than relying on BSD's cfmakeraw.
|
| |
|
|
|
|
|
|
|
|
| |
-file/winfile.cpp: Added note about file handle buffering.
-taito/taitotz.cpp: Use algorithms rather than memcpy.
New working clones
------------------
R-Shark (set 2) [twistedsymphony]
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
move positions to osd interface
add special-casing for LFE
add reverb (currently too subtle, need to find out why)
vgm_visualizer: stop going OOB on the bitmap
|
| |
|
|
|
|
|
| |
There is no defined size for the slave name returned by openpty();
OSes that have a PATH_MAX constant usually use that as limit.
Create a custom OPENPTY_PATH_MAX constant specifically for openpty(),
even in case PATH_MAX is not available: in that situation, use 8192 as
buffer size, which hopefully should be "good enough".
|
| |
|
|
| |
as MAME exits.
|
| |
|
|
|
|
|
|
| |
It's possible for a device format property update to block an activate
call. There's still a race condition in that if streams get device
invalidated errors before the property update arrives, the core may try
and fail to create replacement streams. This at least stops it from
causing a deadlock, at worst you lose sound.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bx: Small platform detection/usage improvements
* Use BX_PLATFORM_POSIX where needed
The semaphone implementation already uses BX_PLATFORM_POSIX to include
<pthread.h> on all the POSIX platforms; do the same also in other places
for consistency. This is done also for <sched.h>, which is a POSIX API,
and sched_yield() from it is already guarded by BX_PLATFORM_POSIX.
* Drop support for GNU libc older than 2.12
glibc 2.12 was released on 2010, and at this point any supported Linux
distro has that version or way greather than that.
From bkaradzic/bx@b59b7debd32260750c2af71f62585d9b438b3b96
* bx: fix <pthread/pthread.h> include on Hurd
<pthread/pthread.h> does not exist, the standard <pthread.h> does exist
so switch to it.
* osd/modules/file: use dirent::d_type on any GNU libc platform
This BSD extension is provided by GNU libc, so enable its usage with
that C library.
* osd/modules/file: use <pty.h> on any GNU libc platform
openpty() is implemented by GNU libc for all the OSes, so include
<pty.h> when using that C library.
* osd/modules/file: cast dirent::d_name to const char* before using it
According to POSIX [1], the type of dirent::d_name is loosely defined
as "char d_name[]", as array with an undefined size. In particular, few
ways are seen in the wild:
(a) "char d_name[size]", i.e. as proper array with a full size
(b) "char d_name[1]"/"char d_name[0]", i.e. as C flexible arrays
Regardless of its type, dirent::d_name is used as if it was a classic
const char *, i.e. as pointer to a null-terminated string.
util::string_format() uses C++ templates to collect all the arguments,
and thus it will use the actual type of dirent::d_name. In case of (a)
there is no issue, however for (b) the result is that only the first
character is used.
To ensure that dirent::d_name is fully used, explicitly cast it to
const char * before passing it to util::string_format(), so the whole
string is used.
[1] https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/dirent.h.html
|
| |
|
|
|
|
|
|
|
| |
Shenlong, marked other settings as unknown.
-sound/sdl_sound.cpp: Corrected SDL verson detection macro.
-docs: A few sound documentation updates.
|
| |
|
|
|
|
|
|
|
| |
uninitialised memory on initial reset.
* Also removed old changelog comment.
-sound/sdl_sound.cpp: Allow MAME to be built with SDL 2.0.14 or 2.0.15
with limited functionality.
|
| |
|
|
|
|
|
|
|
| |
* This simplifies the code somewhat and gives a bit more consistency
across modules.
* XAudio2 sound will ignore the audio latency setting for now - properly
synchronising streams, etc. requires more work.
-Cleaned up some recent changes.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* This should work better with output devices like Bluetooth speakers,
and should be a bit smoother in general.
-osd/osdfile.h: Ensure size isn't passed to ::operator delete when
destructing directory entries.
* osd_stat allocates additional space following the directory entry to
store the name. A regular delete may pass sizeof(entry) to ::operator
delete, which won't match the allocated size. This causes a problem
if the runtime library checks it. (May suppress the warning in
MT09137.)
-sound: Got rid of dependencies on emu and frontend. We're working to
reduce circular dependencies. Adding more is a regression.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
changes instead of polling. [R. Belmont]
- Device additions are now tracked in addition to removals
- Changing channel configuration in Audio/MIDI Setup is now tracked
|
| |
|
|
| |
it happens regularly. [R. Belmont]
|
| |
|
|
| |
becomes unavailable. [R. Belmont]
|
| |
|
|
| |
change, fixes a crash when a new default device is connected. [R. Belmont]
|
| |
|
|
|
|
|
| |
- Supports multiple input and output streams to multple devices simultaneously.
- audio_latency now is a floating-point number of 50 Hz audio frames. 0 is valid now.
- Channel layouts are determined when available (many devices don't support them).
- External effects support removed; it may return later.
|
| |
|
|
| |
steps for portaudio, xaudio2, wasapi), old mame.ini default setting of 2 should work fine
|
| |
|
|
| |
than 2.24.0. [AJR]
|
| |
|
|
| |
docs: small update, remove references to dsound
|
| |
|
|
|
|
| |
video: fix issue with throttling when mame runs at slow motion (-speed lower than 0.2)
options: change mimimum speed setting from 0.01 to 0.1 (mame would crash with very low value, and besides, video throttle still fails below 0.1),
ui: add speed slider when cheats are enabled
|
| |
|
|
| |
sample rate matches mixdown sample rate.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
when initialising the audio client.
|
| | |
|
| |
|
|
| |
display names.
|
| |
|
|
|
|
|
| |
-file/winfile.cpp: Align allocation for directory entry structure in
osd_stat.
-file/stdfile.cpp: Updated signature for osd_stat.
|
| | |
|