| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
|
|
| |
(#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.
|
| |
|
|
|
|
|
|
| |
-emu/inputdev.cpp, emu/emuopts.cpp: Removed core off-screen reload hack
now that the same thing can be achieved more flexibly with plugins.
-ui/pluginopt.cpp: Changed the "previos menu" item text to make what it
does more obvious.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
cpu/drccache.cpp: Added helpers for allocating structures/objects in the
cache.
cpu/drccache.cpp: Supply desired alignment when allocating cache memory
(not fully implemented).
cpu/drccache.cpp: Log some statistics on destruction.
emu/emuopts.cpp: Added -[no]drc_rwx option to allow forcing W^X mode
when writable executable pages are permitted.
cpu/mips, cpu/powerpc: Allow DRC cache size to be set externally at
configuration time, so systems can override the default.
cpu/dspp, cpu/e132xs, cpu/unsp: Don't allocate DRC resources if
recompiler is disabled.
|
| | |
|
| | |
|
| |
|
|
|
| |
`comm_localport` and `comm_remoteport` flags: 15122 -> 15112. (#14254)
See https://github.com/mamedev/mame/blob/master/src/emu/emuopts.cpp#L192 and following.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Shenlong, marked other settings as unknown.
-sound/sdl_sound.cpp: Corrected SDL verson detection macro.
-docs: A few sound documentation updates.
|
| | |
|
| | |
|
| |
|
|
| |
steps for portaudio, xaudio2, wasapi), old mame.ini default setting of 2 should work fine
|
| |
|
|
| |
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
|
| | |
|
| |
|
|
|
| |
-sound/xaudio2_sound.cpp: Use more fine-grained locking in voice
callbacks, simplified further simplified buffer queueing.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-lib/osdobj_common.cpp: Made WASAPI sound the default on Windows and
made DirectSound lower priority than XAudio2.
-osd/eminline.h: Made multiply/divide helper names a bit more consistent
with other functions.
-osd/eigcc.h: Moved helpers that use the __int128 type here, and fixed
availability detection for them.
-osd/eigccx86.h: Added fast multiply/divide helpers for x86-64.
-docs: Updated the list of supported sound modules.
-exidy/exidy.cpp: Use the 1 Coin/1 Credit setting listed in the manual
for Venture by default.
-emu/sound.cpp: Fixed GCC uninitialised local variable warnings in
sound_manager::run_effects().
|
| |
|
|
| |
mame.ini won't get broken sound
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Should be added soon:
- mute
- speaker/microphone resampling
To be added a little later:
- compression
- reverb
Needs to be added by someone else:
- coreaudio
- direct
- portaudio
- xaudio2
- js
|
| |
|
|
|
|
|
| |
* Command line options need to be documented.
* Don't assume C strings returned as option values remain valid
indefinitely.
* Fixed wording for option description.
|
| |
|
|
| |
-konami/konamigq.cpp: No need to cancel a newly allocated timer.
|
| |
|
|
|
|
|
|
|
|
| |
This does essentially the same thing as the Win32 lightgun provider,
mapping the absolute pointer position over the window to gun axes.
Also added a bunch of const in the windows input handling code.
docs: Bumped version, as features that are not in a releaesd version of
MAME are now documented.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Feed mouse/pen/touch pointer events through UI input manager with Win32 and SDL.
* Started migrating UI code to use new API and reworking mouse/touch interaction.
* emu/render.cpp: Support pressing multiple clickable layout items simultaneously.
* emu/render.cpp: Allow UI elements to be drawn in any window.
* emu/rendlay.cpp, luaengine_render.cpp: Added layout view events for pointer input.
* ui/ui.cpp: Allow the UI handler to control pointer display.
* ui/analogipt.cpp: Added mouse/touch and more keys for navigating field state list.
* ui/menu.cpp: Use vertical swipe to scroll and horizontal swipe to adjust.
* ui/menu.cpp: Draw after processing input - greatly improves responsiveness.
* ui/menu.cpp: Ignore keyboard/gamepad input during pointer actions.
* ui/selmenu.cpp: Made left/right info pane arrows repeat when held.
* ui/selmenu.cpp: Use middle click to move keyboard focus.
* ui/selmenu.cpp: Let filter list scroll if it's too tall, and use a bit of horizontal padding.
* ui/selmenu.cpp: Improved divider sizing.
* ui/state.cpp: Don't allow clicks to pass through the confirm deletion prompt to the menu.
* ui/simpleselgame.cpp: Fixed error message display and graphics/sound status not showing.
* ui/simpleselgame.cpp: Allow tap/click to dismiss error message.
* ui/utils.cpp: Show UI for choice filters when there are no choices - it's less confusing.
* modules/input/input_sdl.cpp: Made scaling for mouse scroll better match RawInput and DirectInput.
* modules/input/input_rawinput.cpp: Added support for horizontal scroll axis.
* modules/input/input_win32.cpp: Added support for scroll axes and more buttons to mouse/lightgun.
* modules/debugger/debugimgui.cpp: Don't fight over events with the UI manager - it breaks menus.
* osd/windows/window.cpp: Translate mouse position to window cooridinates for scroll wheel events.
* osd/sdl/window.cpp: Supply last mouse position for scroll wheel events if possible.
* scripts/build/complay.py: Made zero input mask an error - it was only being used to block clicks.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
roland/roland_d70.cpp: Use object finders, use memory shares rather than
ram_device, fixed Endianness bugs, fixed bad indentation, fixed
double-qualified member functions, use m_ prefix consistently for
members, use lowercase hex digits, don't allow writes to ROM, fixed
header #include order.
docs: Corrected docmented default for ui_mouse option.
tektronix/tek440x.cpp: #include local headers first, etc.
bus/a2bus/snesmax.h: Fixed copy/pasted comment.
yamaha/ympsr2000.cpp: Put code in an anonymous namespace.
|
| | |
|
| |
|
| |
Fixes a title underline too short warning.
|
| |
|
| |
Also fixed outdated link to contributing guidelines.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
emu/sound.cpp: Made -volume in source file INI or higher priority
context take precedence over volume read from CFG file. This matches
behaviour of -bgfx_screen_chains.
emu/input.cpp: Made explicit -no{mouse|joystick|lightgun} take
precedence over -{mouse|trackball|adstick|paddle}_device etc. from lower
priority levels.
Alos got rid of a bunch of unnecessary simple_list.
|
| |
|
|
| |
BIOS options in a system.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Made explanation of interaction between device class enable options
(-[no]mouse, -[no]joystick, -[no]lightgun) and automatic device class
enable options (-*_device) more explicit. Also documented that
-mouse_device mouse is set by default in both relevant places.
Provided a better explanation of the purpose of -dual_lightgun.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
osd: Supply OSD object to modules on initialisation. Encapsulated some
event handling in the OSD objects rather than leaving it in free
functions. Put various stuff in namespaces.
osd/modules/input: Enabled dinput, xinput and winhybrid modules for
Windows SDL builds, and enabled background input for dinput and xinput
(and by extension winhybrid) modules. Also fixed some COM and X11
resource leaks.
osd/modules/input/input_sdl.cpp: Flipped SDL mouse button order to match
Windows, and exposed vertical and horizontal scroll as Z and rZ axes.
Moved SDL UI event handling out of input devices into OSD object.
osd/modules/input_rawinput.cpp: Changed lightgun Z axis token so it's
correctly identified as a relative axis (it maps to the scroll wheel
equivalent).
osd: Added an option to choose the network provider module. Mostly
useful if you build with both TUN/TAP and pcap support included, or if
you want to disable emulated networking completely.
emu/input.cpp: Use a better strategy for assembling input code names
that uses fewer temporary strings and doesn't require use of the
non-Unicode-aware space trimming function (fixes MT08552).
osd/modules/input_dinput.cpp: Improved polling logic.
osd: Made various parts of the input code less dependent on concrete emu
objects, and reduced inappropriately passing around the machine object.
Made input modules less dependent on OSD implementation. Encapsulated
some stuff and got rid of some vestigial newui and SDL1 support code.
Cleaned up some interfaces. Moved OSD options classes to their own
files.
Prepare to remove main.h from emu.h - it's mostly used to get the
application name, which the vast majority of emulated devices don't need
to do.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ui/analogipt.cpp: Fixed bar graph display for fields with ranges
that wrap through zero.
emu/inputdev.cpp: Separateed analog axis deadzone and switch threshold
settings, reduced default deadzone, and fixed a potential division by
zero if the deadzone and saturation settings are equal.
emu/ioport.cpp: Fixed behaviour of absolute analog fields where range
passes through zero - it previously only worked for specific
combinations of mask, minimum and default. Removed a workaround from
universal/getaway.cpp that is no longer necessary.
emu/input.cpp: Fixed unintuitive behaviour when an absolute field is
assigned an OR combination of a relative control folled by an absolute
control (e.g. Mouse X or Joy 1 LSX). Also fixed reading axis input
sequences where an axis code is followed by a switch code (these can
only be produced by manually editing configuration files, not through
MAME's UI), and fixed the returned type when multiple relative axes sum
to zero.
osd/modules/input_dinput.cpp: Fixed hat switches being stuck in up
position when input is suspended in the background
taito/taitoio_yoke.cpp: Give throttle control a distinct type, and don't
auto-centre.
osd: Added option to select MIDI provider module (currently only
PortMidi and the dummy module are available). Also put various things
in namespaces, and fixed builds including SDL sound module with native
Windows OSD.
emu/validity.cpp: Added check to catch I/O port fields using UI input
types.
emu/inpttype.ipp: Renamed inputs that were causing confusion. "Bill"
and "Track" were causing confusion for translators and hence likely
causing confusion for many users, especially those who are not native
English speakers. "Track" as an abbreviation for "Trackball" was
frequently being mistranslated, e.g. in the sense of a CD track
selection button or even in the sense of a railway track. There's no
reason to abbreviate it. "Bill" in the US English sense as a banknote
is too ambiguous and was causing confusion for translators. It's better
to use the less ambiguous "Banknote". Corrected Greek translations of
"Trackball".
Don't run GitHub Actions on issue template changes.
|
| | |
|
| |
|
|
| |
UI focus.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
it default with SDL.
This changes behaviour, however I think it's a net positive:
* Most games using Steam Input or SDL2 to read game controllers have
this behaviour, so users have come to expect it.
* This module is better at giving meaningful names to buttons on
common controller, and assigning axes consistently.
* Button/axis mapping files using a widely-used format are supported.
* The old behaviour is still available with `-joystickprovider sdljoy`
if anyone wants it.
The new option for controller mapping files is in the general OSD
options rather than SDL options as it can be extended to DirectInput in
the future.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added initial support for XInput controller subtypes, starting with
driving, arcade and flight controllers.
* Check XInput capabilities to ignore buttons and hats that aren't
present.
* Added preliminary SDL Game Controller joystick provider. Reconnection
and mixed Game Controller/Joystick devices are unsupported.
* Show the input token for the highlighted control on input device
menus.
-ui: Allow menus to set required space above and below menu when metrics
change. Fixes the initial bad layout on the system selecton menu, or
bad layout after resizing windows.
|
| |
|
|
|
|
|
|
|
| |
The keyboard and mouse device mapping options did nothing at all, mostly
because of lack of support for separating inputs from multiple devices.
The joystick options were useless when you have two of the same kind of
controller, and you can achieve the same thing with controller
configuration files.
|
| |
|
|
|
|
|
| |
Also made error messages for missing CHDs and missing files for software
parts using the image file loader show search paths, and changed the
(poorly named) bitbanger device to use the image file loader rather than
the ROM loader for software items.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
frontend: Exposed debug symbol tables and parsed expressions to Lua
(these can be used when the debugger is not active). Also made it
simpler to walk input types.
imagedev/bitbngr.cpp: Added software list loader support (used by
sitcom).
sitcom.cpp: Replaced bankdev with a memory view. Also added a bar graph
for the timer DAC output, and made the DL1414 displays squarer in the
layout like they are in real life. They still don't look right because
the internal segment drawing code doen't draw the segments the right
width.
docs: Fixed broken links and added missing links in command line options
index. Also removed documentation for an option that no longer exists
and fixed some inconsistent terminology.
Separated includes by module in various drivers.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* If an input is configured to some combination of controls that are not
present at all, ignore the setting altogether for the session.
* Fixed relative axes with PORT_RESET not responding to absolute
controls (MT07685).
* Fixed relative axes not responding to an absolute control if the value
doesn’t change every frame (eg. holding a stick against the stop).
* Changed the scaling for absolute controls assigned to relative axes to
make defaults more sane (e.g. arkanoid or spdheat with a joystick).
-frontend: Fixed some localisation issues in Analog Controls menu.
-docs: Added documentation on assigning inputs.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
* Also added a couple of missing command-line options, and added a local
table of contents to the (rather long) command line options page.
-Added a separate CI target for localisation updates that produces an
artefact, and removed the message catalogs from the trigger paths for
the Linux CI build.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Extended the memory access prefixes in debugger expressions to support
address space names.
Made the debugger history command aware of how much history it has
collected, and added a help topic for it to the built-in debugger help.
Started updating the documentation for the web site, and corrected some
of the more misleading built-in debugger help.
Made some corrections to Chinese localisation after discussion with
YuiFAN.
Darkened the UI red colour a little.
cpu/m6502/st2205u.h: Marked sound imperfect.
|
| | |
|