Commit Graph

82515 Commits

Author SHA1 Message Date
Olivier Galibert
fd8ba554a4 stvcd: Be a little more robust to not having any cdrom reader 2022-04-04 13:16:35 +02:00
npwoods
945cb29e74
Changed fs::meta_value::to_string() to not be static and not require meta_type (#9510)
No need to pass in the meta_type when using std::visit() on the std::variant
2022-04-03 21:38:57 -04:00
hap
07a357463b screen: draw until current hpos (not inclusive) when doing an update_now 2022-04-03 22:31:54 +02:00
Roberto Fresca
67f95f7f75 Spacing, alignment and a new Le Super Pendu bug fixed. 2022-04-03 20:34:21 +02:00
Roberto Fresca
b625b60b41 New working machines
--------------------
Le Super Pendu (V1, words set #1) [Roberto Fresca, Grull Osgo, Jeff Hamelin]
Le Super Pendu (V1, words set #2) [Roberto Fresca, Grull Osgo, Jeff Hamelin]
2022-04-03 20:12:07 +02:00
Ivan Vangelista
05d0a6b7c6 bottom9.cpp, dunhuang.cpp, skyfox.cpp, vendetta.cpp: disposed of some comments 2022-04-03 17:35:18 +02:00
npwoods
f55786e8e3
Changed floppy_image_device::init_fs() to set the dirty bit on the floppy image (#9507)
This is not an actual user facing bug right now, because in the MAME UI the call to init_fs() is followed up by a call to setup_write(), which forces the image to commit without regard to the dirty bit.  There is an argument that this is itself code smell; setup_write() perhaps should be set_output_format() and not arbitrarily perform a commit.
2022-04-03 15:57:41 +02:00
Vas Crabb
ea30ec72f4 Disable lifetime dead store elimination for Linux GCC builds.
This will hopefully work around the very unhelpful uninitialised
variable warning that seems to be triggered by using Sol's get function
with std::optional<T> or sol::optional<T> on Linux.
2022-04-03 14:34:38 +10:00
ClawGrip
6edc4f9681
vendetta.cpp: Add brute-forced PLD dumps to Vendetta and clones, add notes for vendetta2pw [Buenrip, Recreativas.org] (#9493) 2022-04-02 20:37:05 -04:00
0kmg
9dc2135777
nes: Various minor fixes, more cleanups with bit functions. (#9488)
* nes: Various minor fixes, more cleanups with bit functions.

bus/nes/benshieng.cpp: Streamline banking; no need to store variables in this device.
bus/nes/hes.cpp: Only support multicarts. Related singleton carts reassigned to relevant board types.
bus/nes_ctrl/hori.cpp: Amend some minutiae involving strobing and excessive controller reading.
hash/nes.xml: Removed a few more baddump flags.
2022-04-02 20:36:01 -04:00
AJR
c127f891cb v9938: Fix out-of-bounds errors from invalid command writes in certain modes 2022-04-02 20:35:15 -04:00
0kmg
7faf626342
nes.xml: Replaced underdumped graphics ROM for Hanafuda Yuukyouden. (#9490)
* nes.xml: Replaced underdumped graphics ROM for Hanafuda Yuukyouden.
- Removed underdumped Soap Panic set.
- Replaced bad graphics ROM for Pokemon Silver hack.
2022-04-02 16:56:37 -04:00
David Haywood
ba7824cd43
m92.cpp - only use 'palette bank' on the later games with ROM banking (MT03289) (#9492) 2022-04-02 16:55:43 -04:00
ClawGrip
720835ec86
New NOT_WORKING software list additions (#9496)
roland_tnsc1.xml:
  50's and 60's (TN-SC1-02), Around the World 2 (TN-SC1-05), Piano Bar (TN-SC1-06), Latin (TN-SC1-07) [Sean Riddle, ClawGrip]
2022-04-02 16:55:22 -04:00
Steven Coomber
ceb0984d5a
ddragon.cpp: Update timer DIP switch naming for ddragon2 (MT08276) (#9497) 2022-04-02 16:55:08 -04:00
r09
62cc87c171
fmtowns_flop_orig.xml/pc98.xml: fix incorrect mfm files (#9494)
* fmtowns_flop_orig.xml/pc98.xml: fix incorrect mfm files

* pc98_cd.xml: CD version of Brandish is also working now
2022-04-02 16:54:56 -04:00
tim lindner
eefba096d7
coco: increase dynamic range of Radio Shack hi-res joystick interface (#9500) 2022-04-02 16:48:47 -04:00
0kmg
1039cc50df
bus/nes: Game Genie cleanup time. (#9502)
- Trimmed overdumped PRG ROM to 4K.
- Removed nonexistent CHR ROM, replaced with emulation of on-board logic.
- Removed hack from NES slot code that directly set the CPU program counter.
- Corrected reset behavior.
2022-04-02 16:47:01 -04:00
Robbbert
8015fc79a7 s7: hopefully this documentation will be allowed to live? 2022-04-03 06:12:19 +10:00
Vas Crabb
3394ce4f2d Try to work around the uninitialised member warning in sol::optional. 2022-04-03 05:02:27 +10:00
Vas Crabb
530c5abb5d Revert initialisation of device members in headers.
This is problematic in several ways:
* Initialising things at construction that aren't needed until after
  start slows down -romident, -validate, -listxml, etc.  Slot cards can
  be a particular drain on -listxml and -validate as they're
  instantiated for every compatible slot.  It's more pronounced for
  array members, too.
* Splitting member initialisation between declaration in headers and
  constructors in source files means you have to look at two places to
  check for the initial value, and you always need to check the
  constructor even if an initialiser is present in the header because
  the constructor initaliser list takes precedence.  (This isn't as much
  of an issue for driver classes because the constructor is most often
  inlined at declaration, so it isn't far from the member declarations.)
* Initialisers in headers for frequently-used devices increases the
  frequency of recompiling dependent devices/drivers as they're exposed
  to any changes in initialisers.
* Initialisers in frequently-used headers increase build times because
  there's more for the compiler to parse/cache.  (This affects
  makedep.py as well for single-driver builds, but that's a single
  pass.)  It's not a lot individually, but it adds up given the size of
  MAME, which keeps increasing.  We've already had one contributor
  banned from GitHub actions for resource usage, we don't want to waste
  compiler time unnecessarily.
2022-04-03 03:07:28 +10:00
Vas Crabb
c4f9ff9790 -util/corealloc.h: Reduced make_unique_clear to a single variant for POD arrays.
* Enabled GCC lifetime dead store elimination optimisation.
* emu/device.h: Don't pre-clear memory for drivers.  Ivan Vangelista
  fixed at least the majority of things that crashed outright, and
  Robbbert initialised variables that coverity complained about.  It's
  unlikely anything will break due to this.
* sound/discrete.h: Explicitly initialise members of discrete "devices"
  to zero.  I don't see a way around doing this in headers due to the
  macro soup used to build the constructors.
* sound/mos6581.cpp: Moved creation of the SID core to device_start and
  explictly initialised members of the SID core structures.  These
  structures are in internal headers, so they won't cause downstream
  recompiles.

-Lua engine: Made I/O port manager type_seq a bit more tolerant of
 omitted arguments.
2022-04-03 02:53:19 +10:00
hap
5255f96203 cpu: remove obsolete debugger.h include from some of my files 2022-04-02 18:29:49 +02:00
Ivan Vangelista
f7ed791122 formats: fixed GCC compile 2022-04-02 18:09:33 +02:00
hap
a79aad0d79 Software list items promoted to working
---------------------------------------
lk3000: English-German [hap]

Machines promoted to working
----------------------------
LK-3000 [hap]
2022-04-02 17:55:06 +02:00
Olivier Galibert
023460abaa prodos fs: Hide the implementation 2022-04-02 17:38:14 +02:00
Olivier Galibert
f742171e2b oric jasmin fs: Hide the implementation 2022-04-02 17:38:14 +02:00
Olivier Galibert
073d1245a9 Fix clang compile 2022-04-02 17:38:14 +02:00
Robbbert
876d4f1a58 fixed a couple of reportedly uninitiated variables in the tools. 2022-04-03 02:03:40 +11:00
Ivan Vangelista
5172c6297e New working clones
------------------
Finger (bootleg of Stinger) [Kalu666]
2022-04-02 14:15:45 +02:00
Robbbert
6be2761faa Merge branch 'master' of https://github.com/mamedev/mame 2022-04-02 22:37:40 +11:00
Robbbert
af704c04bb init vars for coverity (previously missed in mame/*) 2022-04-02 22:37:22 +11:00
CanoeHope
90b68ac070
matrim: Correct year as 2003 (#9495) 2022-04-02 13:22:44 +02:00
Robbbert
1db06b136d init vars for coverity (devices/machine/k-p) 2022-04-02 21:56:11 +11:00
Robbbert
7c1dac74a8 init vars for coverity (devices/machine/5-i) 2022-04-02 20:49:26 +11:00
AJR
02faf3a3a1 ksys573.cpp: Workaround for segmentation fault when starting systems with fewer than two CD-ROMs 2022-04-01 22:59:56 -04:00
0kmg
2aa80b9d07
bus/nes: Added support for K-3071, S-009, and TH2348 boards. (#9498)
New working software list additions (nes.xml)
-----------------------------------
Chāozhí Gāo K Jīnkǎ 110 in 1 [Consolethinks]
8 in 1 (0801) [Consolethinks]
Golden 8 in 1 [Consolethinks]
2022-04-01 22:00:33 -04:00
Ivan Vangelista
976ec5da28 contra.cpp, gng.cpp: finders and other small cleanups 2022-04-01 17:59:14 +02:00
Robbbert
b206c1c7bd init vars for coverity (bus/l-w) 2022-04-02 02:16:51 +11:00
Robbbert
5a29819506 init vars for coverity (bus/a-l) 2022-04-02 00:34:10 +11:00
AJR
92f6ca27d6 cdrom.cpp: Bothering by integer types 2022-04-01 08:36:25 -04:00
AJR
c20662d240 cdrom.cpp: Clean up code somewhat
- Use std::string_view for filename parameters
- Use ioprocs rather than core_file
- Reduce commenting out of miscellaneous logging
2022-04-01 08:02:33 -04:00
Olivier Galibert
e4564eb99a cdrom_file: classify. Could use more internal work, but it's a step 2022-04-01 11:36:55 +02:00
Olivier Galibert
e818533b16 hard_disk_file: classify 2022-04-01 11:36:55 +02:00
Vas Crabb
50fc1c3a58 Minor cleanup.
* machine/ldv3200hle.cpp: Be paranoid about minimum size of unsigned.
* sound/gb.cpp: Lowercase hex digits in literals.
* qx10.cpp: Consistent Allman brace positioning.
2022-04-01 20:08:40 +11:00
hap
7fce2e7908 rw5000: update note about a4000 2022-04-01 10:34:17 +02:00
Vas Crabb
38dfe33088 MAME 0.242
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE0DYtsBhE4EM627+6wXSxAYxAcQ4FAmJFtdAACgkQwXSxAYxA
 cQ6mEg//Y8m271n5fiu54gx8okfvhQgv/oEVQFBS3iOLWIKU1Vkfhxrqjlwp7fq+
 vlvJgHt1f62h7h2DRLQ/DYIncr8W+QL0hEqXN85JckYQT0/Z4X5nCldOGvFXfHTz
 DOk+KcelBPuz0sc/1we7zsy1hM9+z4tkLg4zZdTg8JB9eHsHpYQKM1YH91wyCsni
 Wkm/vSSJC3OTGcpqGEPvPxB82dxHFaxswJ5FgnJmNuMLHJpB/QqY1kQ6Za7rKrXe
 C55+sSxXsXlr5+jOv2A8ZirOJk+79RffVrPi880Ic3RME9Z4ntCEun+ZjW0y+/h/
 961WYQTAurfx5RJNn1AtDK34EPCSM79Q8Y1VrPdLrs5w9FaSj26O61gqaouSMQaw
 GzrvJPDeEVjIk/Cbju0rFJwwVeaT2OPgF6ufl2Y4Sp3qGsFOhmgnGD1/DVDyWWQH
 qodDl34DX4iU9ZkIO4/I3MBdd/ntO3guDFSbhnVtqUEPWVbY/mK8xNXhkYnVXcz/
 q0aZaXEBanUw+TlwB+sSKqUD86Vn72VrKxRPoJq+1Q1gptfVx9EaoVh8CRF5ZEmD
 meonIjvIb2BQPB+z3V6pbAeG50bwyZhoEZFJu2b90DrRnZrguXivxTWriCPU0B+G
 fDIePeCrZ/AsRutY7ez0xfqnQcBlAwLKzzm3aN+qsM5jsdDUDVU=
 =ulDr
 -----END PGP SIGNATURE-----

Merge tag 'mame0242' into mainline-master

MAME 0.242
2022-04-01 17:32:29 +11:00
AJR
1473da34fa ssem.cpp: Fix loading regression 2022-03-31 15:54:45 -04:00
AJR
51586b043c homelab.cpp, ssem.cpp, machine/z80bin.cpp: Eliminate use of fgetc in quickload processing 2022-03-31 15:21:14 -04:00
AJR
f5d61ddcbe New machines market as NOT_WORKING
----------------------------------
Waldorf Electronics MiniWorks 4-Pole [DBWBP]
2022-03-31 14:06:29 -04:00