Commit Graph

80903 Commits

Author SHA1 Message Date
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
hap
d2aa062d94 bgfx: fix flurry of bogus warning messages 2021-10-29 15:59:07 +02:00
cam900
4a7cbbb858
saa1099.cpp: Fix output behavior when both noise and tone are enabled (#8767) 2021-10-29 09:42:33 -04:00
MooglyGuy
fcd99ff769
-mc68328: Cleaned up register handlers and structure. [Ryan Holtz] (#8771) 2021-10-29 09:41:16 -04:00
hap
766619f983 fanucspmg: add correct contact url to comment 2021-10-29 14:37:16 +02:00
hap
e3d8cb0883 selmenu: fix wrongly placed messagebox 2021-10-29 14:33:58 +02:00
0kmg
4ea2a2d528
bus/nes: Removed bogus mirroring and banking bits from NAMCOT 3446. (#8768) 2021-10-28 23:08:50 -04:00
0kmg
53b35e7c59
bus/nes: Simplify 8K banking with existing parameterized function. (#8765)
* bus/nes: Simplify 8K banking with existing parameterized function.

* remove some useless semicolons
2021-10-28 06:55:17 -04:00
arbee
374a6c6546 debugger: support octal on the Mac native debugger [R. Belmont] 2021-10-27 22:02:48 -04:00
0kmg
44467bff32
bus/nes: Fixed 4-screen mirroring when loading loose .nes files. (#8764)
- Also, tweaked logging so newer .nes files show backwards compatible fields.
2021-10-27 21:38:03 -04:00
Barry Rodewald
a972dc9859 amstrad: Return 0xFF on PPI port A when the PSG is inactive. Fixes Puzzle Bobble. 2021-10-28 13:39:13 +13:00
AJR
6ccae2148d cococart.cpp: Fix copy-and-paste mistake 2021-10-27 16:43:15 -04:00
Scott Stone
6c9d8a51ab pc8801_flop.xml: Fixed sha1 length issue with commented rom. 2021-10-27 14:34:04 -04:00
AJR
ed47834cff debugger/qt/memorywindow.cpp: Remove leftover printf 2021-10-27 13:11:39 -04:00
AJR
6cd23b0853 Debug memory view improvements
- Add options for 1-byte, 2-byte, 4-byte and 8-byte octal data display, which are selected automatically for memory spaces configured as octal. Octal data has also been made editable.
- Add options for displaying addresses in decimal or octal as alternatives to the typical hexadecimal format. This also affects the address expression box.
- Prevent the cursor from moving left from the first address or right from the maximum address.

Note that the new options have only been hooked up for the Qt debugger. The Windows and OS X debuggers should also be updated to include them.
2021-10-27 13:08:59 -04:00