Commit Graph

80917 Commits

Author SHA1 Message Date
Vas Crabb
2b025ea08d frontend: Allow cycling modifiers for an absolute axis by pressing repeatedly without going through an append step. 2021-11-06 20:23:11 +11:00
Vas Crabb
3ee378dc4f frontend: Remove no-longer-needed member of save/load state menu. 2021-11-06 15:06:18 +11:00
Vas Crabb
014eb6369b input: Clarify docuemntation and a comment. 2021-11-06 14:11:49 +11:00
Vas Crabb
270276c4d3 -Enabled complex combinations for analog axes:
* Made it possible to add digital controls to axis settings as enables.
* Mix multiple analog controls assigned to an axis setting.
* Added a "reverse" modifier for analog controls (useful with mixing).
* Fixed an issue assigning mouse axes using multiple mouse-like devices
  with -nomultimouse.

-frontend: More cleanup:

* Got rid of some abuse of "special main menus".
* Added a helper class for auto-pause menus that don't spawn submenus.
* Got rid of the fake menu that schedules an exit on the first frame.
* Turned the confirm quit prompt into a menu, eliminated one more
  special-cased event loop.
* Fixed the confirm quit prompt resuming if you return to emulation if
  you weren't paused to begin with.

-bus/centronics: Fixed conflicting DIP locations, reversed order and
 inverted polarity for Epson printers.

* Also added the LX-810 (without L suffix) DIP switches for reference -
  we don't have a device for this printer yet.
2021-11-06 13:52:48 +11:00
Vas Crabb
07e55935cf plugins: Rewrote timer plugin fixing multiple issues.
Added emulated time recording as well as wall clock time.

Fixed recording time for multiple software items per system.  An
incorrect constraint on the database table meant that time was only
being recorded for a single software item per system.

Detect the "empty" driver so the time spent at the selection menu isn't
recorded (you'd get multiple entries for this due to the way options
leak when returning to the system selection menu).

Included schema migration code to update existing timer plugin
databases.  Also replaced some unnecessary floating point code with
integer maths, added log messages, and made the plugin unload unload its
database access code during emulation.

Changed other plugins' use of paths with trailing slashes as this causes
stat to fail on Windows.
2021-11-06 05:20:59 +11:00
Robbbert
3bb8e3adc7 New machines marked as NOT_WORKING
----------------------------------
Space Poker  [Robbbert]
2021-11-06 02:58:13 +11:00
Robbbert
a2e75405fd st_mp100: Black Sheep cleanup 2021-11-06 02:12:18 +11:00
Robbbert
69363e8b4b st_mp100,st_mp200: WIP. Fixed some long-standing mistakes. Moved blkshpsq to the correct driver. 2021-11-06 02:05:08 +11:00
Sergio G
5edc4cfcc2
m92.cpp: update B board references for all games (#8787) 2021-11-04 22:29:32 -04:00
0kmg
317b89e955
nes.xml: Added some homebrew games released on cartridge. (#8783)
New working software list additions
-----------------------------------
Airball (RetroZone) [anonymous]
Larry and the Long Look for a Luscious Lover [anonymous]
The Legends of Owlia [anonymous]
The Mad Wizard - A Candelabra Chronicle [Sly Dog Studios]
Mystic Pillars [anonymous]
Nomolos - Storming the Catsle [anonymous]
The Rise of Amondus [Sly Dog Studios]
Ultimate Frogger Championship [KHAN Games]
2021-11-04 20:24:32 -04:00
Vas Crabb
de9ed12186 plugins: Reduced amnesia for autofire and inputmacro plugins.
Made autofire and inputmacro plugins capable of remembering settings if
the host input device for the binding is missing or if an input for a
slot device that isn't present is referenced.
2021-11-05 02:46:04 +11:00
hap
f196989f8b hh_melps4: add gakken frogger note 2021-11-04 14:21:59 +01:00
Patrick Mackinlay
39beb6b62d m68kfpu: bug fix for fmovem with empty register list 2021-11-04 16:40:08 +07:00
cracyc
0a27fdf359 plugins/cheat: one more flag 2021-11-03 20:09:37 -05:00
cracyc
fe0fbb87c2 plugins: fix cheatfind menu flags and write xml cheat text to ui container so it's not sideways on rotated screens 2021-11-03 20:01:07 -05:00
Vas Crabb
18a6113655 Two small fixes (bad menu flags in cheat plugin, copy/paste in docs). 2021-11-04 11:41:46 +11:00
Vas Crabb
6e355f86c8 frontend: Don't let the non-menus get as far as trying to draw. 2021-11-04 10:32:24 +11:00
Vas Crabb
dc33e01896 plugins: Ensure state is destroyed on stop. 2021-11-04 10:12:19 +11:00
Vas Crabb
8c6cb643e3 plugins: Simplify logic in autofire and inputmacro plugins to try and avoid leaking state across sessions. 2021-11-04 09:55:26 +11:00
AJR
e44d51c21f luareference.rst: Clarify contract of as_hz, as_khz and as_mhz 2021-11-03 17:24:30 -04:00
Robbbert
4d19753913 gp_1, gp_2 : WIP. Added some of the missing roms to mbossy. 2021-11-04 04:36:02 +11:00
Vas Crabb
13612bbe0f -emu/ioport.cpp: Fixed some default setting handling issues.
* Issues were unlikely to actually manifest unless you use controller
  configuration files to change specific system input defaults.

-src/emu/output.h: Added size accessor to multi-element output finder.

* std::size will work on the top rank of an outut finder now.  Sorry for
  hitting emu.h again so soon.

-lua: Exposed a couple more input related things.

* Exposed constructor and a few methods on input_seq required for
  scripts to properly clear assignments or restore default settings.
* Exposed ioport_manager::set_type_seq which is required to configure
  general input assignments properly.
* Removed unnecessary use of sol::overload in favour of optional
  parameters.
* Updated documentation and also fixed a few errors.

-docs: Added description for axis setting assignments.
2021-11-04 03:11:29 +11:00
Vas Crabb
d29287e092 -emu/ioport.cpp: Made default behaviour better.
* 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.
2021-11-03 19:41:40 +11:00
0kmg
dce1fd7dfa
bus/nes_ctrl: Added emulation for IGS Tap-tap Mat controller. (#8772)
* Refactored Family Trainer and Tap-tap Mat into common base class.

Software list items promoted to working (nes.xml)
---------------------------------------
Super Mogura Tataki!! Pokkun Moguraa (Japan)
2021-11-03 06:46:43 +11:00
MetalliC
fb646fea79 new NOT_WORKING clone
---------------------
Mushiking The King Of Beetle (2K3 2ND Ver. 1.000-, China) [Jorge Valero, MetalliC, rtw]
2021-11-02 21:38:25 +02:00
Vas Crabb
a6e65db043 emu/ioport.h: Fixed stupid mismatched friend declaration that GCC blithely ignores. 2021-11-03 05:25:37 +11:00
Vas Crabb
dd43f801a1 -emu/ioport.cpp: Fixed "MAME lost my joystick settings!!!1!11!
-plugins: Gave the timecode plugin an option to count emulated frames.
2021-11-03 05:18:06 +11:00
hap
e1863f8c6a at: correct mba032q year typo 2021-11-02 09:00:09 +01:00
Vas Crabb
2d220c7ba8 Fixed Windows build as well - default input overrides in OSD modules are annoying. 2021-11-02 16:08:24 +11:00
MooglyGuy
33e55b1ca7
mc68328: Moved #define macros into enums within the class. (#8781) [Ryan Holtz] 2021-11-02 15:41:13 +11:00
Vas Crabb
6cbfe66e52 plugins: Fixed obligatory copy/paste error in new timecode plugin. 2021-11-02 15:33:53 +11:00
Vas Crabb
d775a2731d plugins: Moved the timecode recording functionality to a plugin. 2021-11-02 15:31:03 +11:00
Vas Crabb
e4c0f2ddac docs: Fix an error in the Lua reference that I copy/pasted without noticing. 2021-11-02 08:22:09 +11:00
Vas Crabb
8ab63e2072 Fix various usability issues:
frontend: Made it so you can press UI On Screen Display to hide the
Analog Controls menu and see the response to your inputs without the
risk of changing settings, and see more axes at once and scroll them for
systems with very large number of axes.  Also ensure the axis being
configured is visible when the menu is visible, and made the menu behave
a bit more like the system input assignments menu (including
previous/next group navigation).

frontend: Allow Lua to draw to the UI container - this addresses the
main complaint in #7475.  Note that drawing to the UI container will
draw over any UI elements, including menus.  Plugins can check
menu_active to avoid drawing over menus.  Also removed some unnecessary
use of sol::overload.

frontend: Improved info/image box navigation on the system/softwre
selection menus, and cleaned up some leftover code that came from the
copy/pasted event handling functions.

frontend: Fixed sliders menu not handling Alt+Shift as intended (thanks
Coverity).  Fixed a couple of harmless Coverity errors, too.

emu/inpttype.ipp: Made the default assignment for Save State recognise
right shift.

plugins: Added next/previous group navigation to input macro edit menu.

docs: Added basic description of the system and software selection
menus, and corrected a couple of errors in the Lua reference.
2021-11-02 07:53:18 +11:00
Robbbert
7823591699 gts3, gts3a: WIP 2021-11-02 03:35:58 +11:00
Devin Acker
8ecf63a4be
gt913: log two more unknown sound commands (#8779) 2021-11-01 12:24:23 -04:00
0kmg
c7ef352532
bus/nes_ctrl: Fixed Family Trainer button reads. (#8773)
* Column input reads now are now shifted to correct bit, fixing reads for top two rows.
* Button presses are correctly 0 bits.
* Multiple rows can be scanned per read.
* Flipped key bindings on mat side A - now left/right correspond to left/right on mat.
2021-11-01 02:54:56 +11:00
Robbbert
73e9dd8124 ctk2100: added to mame.lst 2021-11-01 00:11:12 +11:00
Vas Crabb
96cbadbd7d frontend: Make all the textbox menus use the custom navigation flag, on the off chance they become scrollable somehow. 2021-10-31 12:44:02 +11:00
Vas Crabb
d64ea5331b
-frontend: Refactored menu event handling and fixed a number of issues. (#8777)
* Moved common code for drawing about box, info viewer, and other text box menus to a base class; removed the last of the info viewer logic and the multi-line item hack from the base menu class.
* Added previous/next group navigation for general inputs and plugin input selection menus.
* Moved message catalog logic to lib/util, allowing osd and emu to use localised messages.
* Made the base menu class use the UI manager’s feature for holding session state rather than a static map and mutex.
* Improved menu event handling model, and fixed many issues, particularly with menus behaving badly when hidden/shown.
* Added better support for menus that don’t participate in the usual menu stack, like the menuless sliders and the save/load state menus.
* Made a number of menus refresh state when being shown after being hidden (fixes MT08121 among other issues).
* Fixed indication of mounted slot option in the slot option details menu.
* Improved appearance of background menus when emulation isn't running - draw all menus in the stack, and darken the background menus to make the edges of the active menu clearer.
* Fixed locale issues in -listxml.

-debugger: Made GUI debuggers more uniform.
* Added new memory view features to Win32 debugger.
* Fixed spelling of hexadecimal in Cocoa debugger and added decimal address option.
* Fixed duplicate keyboard shortcut in Cocoa debugger (Shift-Cmd-D was both new device window and 64-bit float format).
* Made keyboard shortcuts slightly more consistent across debuggers.

-plugins: Moved input selection menu and sequence polling code to a common library.  Fixed the issue that prevented keyboard inputs being mapped with -steadykey on.

-docs: Started adding some documentation for MAME's internal UI, and updated the list of example front-ends.

-Regenerated message catalog sources.  For translators, the new strings are mostly:
* The names of the inputs provided by the OS-dependent layer for things like fullscreen and video features. These show up in the user interface inputs menu.
* The names for automatically generated views. These show up in the video options menu - test with a system with a lot of screens to see more variants.
* The input macro plugin UI.
* A few format strings for analog input assignments.
* A few strings for the about box header.
2021-10-31 12:31:16 +11:00
AJR
cfffc54b61 f8: Add callback for overriding the normal reset address 2021-10-30 16:53:09 -04:00
AJR
ba4b7c7d84 New machines marked as NOT_WORKING
----------------------------------
F387X PEP System [Bitsavers]
2021-10-30 15:50:48 -04:00
hap
c6993affc6 osdcore: fix buffer overflow with osd_output stack 2021-10-30 21:28:25 +02:00
cracyc
cee44b0414 plugins/console: fix crash 2021-10-30 12:05:58 -05:00
Ivan Vangelista
88cfb2afbd New clones marked as NOT_WORKING
--------------------------------
Teenage Mutant Ninja Turtles (1.01) [Inkochnito, PinMAME]
2021-10-30 13:17:06 +02:00
Michael D
69138e9779
sgi_mips: new software list additions from jrra.zone (#8769) 2021-10-29 16:05:32 -04:00
r09
5e02fee79e
fmtowns_flop_*.xml: 4 new dumps, verified originals (#8770)
- Verified the Futoppara FD Heisei disks as dumped from original disks and moved them to fmtowns_flop_orig.xml [cyo.the.vile]
- Removed the old handcrafted Columns image

New working software list additions (fmtowns_flop_orig.xml)
-----------------------------------------------------------
Gorby no Pipeline Daisakusen [Katsura82, rockleevk, r09]
Tama CG-shuu - Mai [cyo.the.vile]

New not working software list additions (fmtowns_flop_orig.xml)
---------------------------------------------------------------
Columns [Katsura82, rockleevk, r09]
Musirou - Ongaku Kyoushitsu Ver. 2.0 [cyo.the.vile]
2021-10-29 16:04:22 -04:00
Ivan Vangelista
cebc63192d New working clones
------------------
Super Street Fighter II: The New Challengers Super 2 (bootleg, USA 930911) [Genaro Rodarte]
2021-10-29 18:40:34 +02:00
Miodrag Milanovic
fa605f1a7a removed leftover 2021-10-29 16:41:40 +02:00
hap
41a80334ce screen: fix buffer overflow crash with VIDEO_VARIABLE_WIDTH screens [AmatCoder] 2021-10-29 16:12:34 +02:00