Commit Graph

85661 Commits

Author SHA1 Message Date
Vas Crabb
b9c878e627 BGFX: Check window manager type returned by SDL. 2023-02-03 16:17:37 +11:00
Patrick Mackinlay
0158cdeab6 ncr53c90: better guess at sequence logic for macqd700 2023-02-03 12:02:06 +07:00
AJR
11d04180ca upd7810.cpp: Fix clang error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value] 2023-02-02 22:52:18 -05:00
hap
28fce32e87 New working clones
------------------
Tekken 2 (US, TES3/VER.A) [Guru]
2023-02-02 23:13:39 +01:00
Lord-Nightmare
c056522aab Fix upd7810 serial input failing to detect the start bit of the next byte if there are zero serial idle state bits sent between the serial bytes to the upd7810 receive line. [Lord Nightmare] 2023-02-02 16:36:23 -05:00
Vas Crabb
43e30203bd docs: Clarified documentation of input options.
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.
2023-02-03 04:27:40 +11:00
Ivan Vangelista
282eedc7f5 nichibutsu/hyhoo.cpp, nichibutsu/pastleg.cpp: consolidated drivers in single files 2023-02-02 18:20:03 +01:00
Vas Crabb
9baa810ef2 tools/ldresample.cpp: Don't try to allocate a 1MB object on the stack (fixed GitHub #7722). 2023-02-03 03:19:53 +11:00
Vas Crabb
26833301af osd: Don't swallow text input with -keyboardprovider win32 (addresses GitHub #7911). 2023-02-03 02:59:18 +11:00
Vas Crabb
be9cb8161a nichibutsu/terracre.cpp: Labelled amazon debug controls (see GitHub #9697). [atrac17, Vas Crabb] 2023-02-03 02:03:54 +11:00
negunma
83d2dc4b8c
sanritsu/jantotsu.cpp : fix SN76489A clock (#10863)
* sanritsu/jantotsu.cpp : Correct SN76489A clocks to match reference video
2023-02-02 09:27:31 -05:00
Vas Crabb
d35408d628 render/drawd3d.cpp: Fixed prescaling without HLSL - WRL COM pointer has some surprises.
Also added some additional error checking.
2023-02-02 18:30:29 +11:00
hap
e2691b5e13 Systems promoted to working
---------------------------
Computer Othello [hap]
2023-02-01 23:59:33 +01:00
hap
dbaf7b376d cothello: add coin handling and sound 2023-02-01 23:31:48 +01:00
hap
acc7d534af cothello: add buttons 2023-02-01 20:07:25 +01:00
hap
9fcd185ad2 cothello: add notes 2023-02-01 19:31:25 +01:00
Vas Crabb
6ff51387fa bgfx: Refined configuration handling:
* Sort screen chains by none, default, then collation order (rather than
  whatever order the filesystem yields).
* Correctly persist settings across fullscreen toggle when explicit
  screen chains are configured.
* If chains are specified for a single window only, apply them to all
  windows.
* Treat empty string for screen chain as "default" rather than crashing.
* Changed default setting for bgfx_screen_chains to an empty string so
  chain selection will be saved/restored per system with mame.ini file
  created by -cc with no other settings.
2023-02-02 05:28:07 +11:00
David Haywood
069b78526a
misc/discoboy.cpp: Added clone DJ Girl (#10865)
New working clones
-----------
DJ Girl (Promat license) [Buenrip, Recreativas.org]
2023-02-02 05:25:41 +11:00
Ivan Vangelista
a6592163c3 - vsystem/crshrace.cpp, vsystem/f1gp.cpp, vsystem/taotaido.cpp: consolidated drivers in single files
- mame/*: further updated #ifndef guards to the current tree structure
2023-02-01 18:00:33 +01:00
Vas Crabb
3a7971b93f osd/windows/window.cpp: Allow BGFX to bounce cleanly when toggling fullscreen on Windows with multiple output screens/windows. 2023-02-02 03:41:15 +11:00
Vas Crabb
f408dd83e2 osd: Fixed BGFX crash on toggling fullscreen on Linux.
Also fixed draw13.cpp upsetting older versions of clang.
2023-02-02 03:23:36 +11:00
hap
942d07080a New working systems
-------------------
Saturn: Space Fighter 3D [Dillweed, SNESNESCUBE64]
2023-02-01 15:56:31 +01:00
Vas Crabb
4a81bdb64a Updated Chinese UI translations. [YuiFAN] 2023-02-02 01:06:19 +11:00
Vas Crabb
47aa6fd60d render/bgfx: Fixed texture object lifecycle issues. 2023-02-02 00:43:13 +11:00
hap
71aaf57ca8 New systems marked not working
------------------------------
Computer Othello [hap, Dillweed, SNESNESCUBE64]
2023-02-01 13:28:05 +01:00
Patrick Mackinlay
7825a857f8 softfloat: de-conflict include guards 2023-02-01 14:25:59 +07:00
Patrick Mackinlay
2e0798e064 font_sdl: better fix for variable-length array 2023-02-01 13:30:24 +07:00
Patrick Mackinlay
7cf123e770 font_sdl: avoid variable-length array 2023-02-01 13:19:55 +07:00
Vas Crabb
0ae68e4dea Use EQUIVALENT_ARRAY to avoid issues with std::size on member arrays, enable warnings for VLAs in C++. 2023-02-01 16:12:58 +11:00
Patrick Mackinlay
c4830168a5 osd/tools: msvc fixes
* xinput.h depends on windows.h
* avoid use of non-standard variable-length arrays
2023-02-01 10:00:25 +07:00
arbee
8518c84215 ncr53c90: updates [R. Belmont]
- Transfer counter semantics were incorrect for async mode
- DRQ wasn't updated after all operations that could change it

Mac Quadra 700 now gets to "Welcome to Macintosh" from HDD, and SPARCStation-1 can still boot Solaris.
2023-01-31 18:53:58 -05:00
Vas Crabb
de7b5a1ec3 Implemented probe for D3D module to detect lack of D3D9 sooner. 2023-02-01 04:27:05 +11:00
Ivan Vangelista
fa59c3fc31 mame/v*-z*: put drivers in anonymous namespaces where applicable, updated #ifndef guards to the current tree structure 2023-01-31 18:07:43 +01:00
Vas Crabb
2810c9d91b osd: Turned video modules into actual modules, fixed various issues.
Don't ignore the return status of OSD module initialisation.  Attempt to
fall back to an alternate module if the selected module fails to
initialise.  Log more useful diagnostic information at verbose level.

Fixed BGFX crash on exit after toggling fullscreen.  Also persist more
settings than just the selected chains across toggling fullscreen.

Turned video modules into OSD modules in the same sense as all the other
OSD modules.  They now use the same selection/fallback mechanism as all
the other modules without special extra code in the OSD implementations.

Untangled some object ownership mess.  Windows own renderers, OSD
objects own windows.  Fixed a refrence loop that caused the first window
object to always leak.

Don't create renderer object until after underlying window has been
created.  Fixed issues with order of creation/destruction when toggling
fullscreen or changing prescale in fullscreen with -switchres in SDL
builds.

Use more smart pointers in BGFX and Direct3D render modules.  Most of
the code now reutrns a smart pointer when handing over ownership or a
naked pointer when retaining ownership.  Fixed a few leaks and
simplified cleanup code.

Encapsulated various OSD modules better.
2023-02-01 04:00:44 +11:00
Patrick Mackinlay
12e5fa3906 z80dma: improved end of block test 2023-01-31 16:03:31 +07:00
AJR
faa0ede657 spclforc, spcfrcii: Add sound device 2023-01-30 20:06:22 -05:00
AJR
f0be18a446 se3208: Execution code cleanup
- Remove most macros, replacing a few important ones with coretmpl inlines
- Eliminate some unnecessary operand masking
2023-01-30 19:14:13 -05:00
Olivier Galibert
ec0c119bed moof: Fix the flux tracks 2023-01-30 20:14:50 +01:00
Ivan Vangelista
1a31b43897 New software list items marked not working
------------------------------------------
Pre-Computer Speller [Sean Riddle]
2023-01-30 18:14:52 +01:00
Ivan Vangelista
db6b9175c1 mame/t*,u*: put drivers in anonymous namespaces where applicable, updated #ifndef guards to the current tree structure 2023-01-30 18:02:54 +01:00
Miodrag Milanović
b1dd01fca8
plib/plist.h: Stop using deprecated std::iterator template. (#10864) 2023-01-31 01:28:01 +11:00
Patrick Mackinlay
3035a7b436 z80dma: correct end of block test again 2023-01-30 20:03:03 +07:00
wilbertpol
34c25a9a36
msx1_cass.xml: Updated metadata and notes on a lot of software releases. (#10860)
* Moved 7cardstd and 7cardstda to B sides of Samantha Fox Strip Poker.
* Renamed cityconj to citycona.
* Renamed queenglf to golfa.
* Renamed bumpygts to juegue03.
* Renamed maziacs to msxsof02.
* Renamed cubik to msxsof06.
* Renamed 007agesp to msxsof07.
* Renamed batespac to msxsw13.
* Renamed ean info lines to gtin.
* Fixed duplicate part name in tutor.
* Added developer info to Base de Datos.
2023-01-30 07:33:29 +11:00
Ivan Vangelista
c6b00ccff2 New software list items marked not working
------------------------------------------
misterx: Mega-Quiz [Team Europe]
2023-01-29 09:05:16 +01:00
Vas Crabb
57d9938c7a render/bgfx: Fixed Linux build. 2023-01-29 07:20:51 +11:00
Vas Crabb
eaa43879cd render/bgfx: Got rid of a lot of unnecessary object copying during setup. 2023-01-29 06:53:43 +11:00
MooglyGuy
5671484fc8
Major D3D and BGFX code refactoring and bug fixes: (#10858) [Ryan Holtz]
* render/bgfx: Improved clearing and blending. Added prescale support. Fixes MT07586, MT07587, MT08084.
* render/bgfx: Fixed blend and tint handling. (Fixes Github #1953).
* render/bgfx/blendreader.cpp: Support non-separated blend mode specification for BGFX effects.
* render/bgfx: Reworked how horizontally-padded screen textures are handled. Likely fixes MT08512 and MT08505.
* render/bgfx: Ensure that a texture's width margin is updated in all cases.
* render/d3d/d3dhlsl.cpp: Fixed tinting in HLSL post-processing mode.
* render/d3d/d3dhlsl.cpp: Avoid most redundant state-setting calls. Reduces D3D API calls by about 90% on fruit machine drivers.
* render/d3d/d3dhlsl.cpp: Assign SourceDims and QuadDims uniforms to only those effects that use them.
* machine/laserdsc.cpp: Always add video quad to screen container, adjust tint based on m_videoenable instead.
2023-01-29 03:59:25 +11:00
ClawGrip
cc7ad69ddd
pinball/inder.cpp: Fix date in note about "Mundial 90". (#10851) 2023-01-29 03:51:34 +11:00
Vas Crabb
de9115a587 osd/modules/input: Fixed Linux build. 2023-01-29 03:40:05 +11:00
Vas Crabb
68472d3d72 Various input and OSD refactoring:
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.
2023-01-29 03:16:14 +11:00