Commit Graph

27434 Commits

Author SHA1 Message Date
Justin Kerk
446ac03dd9 Allow JSMESS to compile with -Werror (nw) 2014-03-12 16:22:04 +00:00
Oliver Stöneberg
35c14d7114 reverted change to src/lib/lib.mak (nw) 2014-03-12 16:01:18 +00:00
Oliver Stöneberg
8a80285891 removed unnecessary quoting for -DDISABLE_MIDI=1 (nw) 2014-03-12 15:53:45 +00:00
Oliver Stöneberg
5a6a00661e fixed libflac compilation for older clang versions (nw) 2014-03-12 15:26:27 +00:00
Alex W. Jackson
f9bfd9ccfb whoops, remove duplicate line (nw) 2014-03-12 14:37:59 +00:00
Alex W. Jackson
40e25e1455 pirates.c: fix crash (nw) 2014-03-12 14:36:42 +00:00
Michael Zapf
e7868ca66f (MESS) Modernized StrataFlash device. (nw) 2014-03-12 13:13:10 +00:00
Yasuhiro Ogawa
9ebd171738 "New version" and "Old version" description is official. 2014-03-12 12:32:42 +00:00
Miodrag Milanovic
b3ba4a4649 changed destructors to prevent crash on exit (nw) 2014-03-12 12:21:09 +00:00
Miodrag Milanovic
f7c49a5019 removed need for legacy palette for pocketc (nw) 2014-03-12 11:09:54 +00:00
mahlemiut
8dc00459ab hunter2: added RS232 port. 2014-03-12 11:02:22 +00:00
Oliver Stöneberg
41251f0b34 global_free() -> global_free_array() in src/osd/sdl/drawsdl.c (nw) 2014-03-12 10:56:30 +00:00
Oliver Stöneberg
0dfcb99251 "fixed" VS2012 linking of makemak.exe and makelist.exe (nw) 2014-03-12 10:46:25 +00:00
Alex W. Jackson
767381566e bfm_adr2.c: fix crash [Alex Jackson] 2014-03-12 08:58:20 +00:00
Miodrag Milanovic
05bd0eb8ea fixed softlist loading (nw) 2014-03-12 08:54:56 +00:00
Alex W. Jackson
f7314019e7 pgm.c: simplify tile gfx ROM loading/decoding [Alex Jackson] 2014-03-12 08:41:24 +00:00
Miodrag Milanovic
c5a95d4380 Fixed listxml (nw) 2014-03-12 08:01:58 +00:00
Curt Coder
1d3b1717a6 (MESS) vcs/ctrl: Cleanup. (nw) 2014-03-12 06:45:01 +00:00
Alex W. Jackson
601b9c4bed Fix UI gfx viewer crash with no palette (nw) 2014-03-12 06:10:35 +00:00
Alex W. Jackson
1a4931f507 megacd: fix crash introduced by gfx_element commit (nw) 2014-03-12 05:33:50 +00:00
Alex W. Jackson
91db5cd8e7 z8000: global_free fix (nw) 2014-03-12 04:27:16 +00:00
Ivan Vangelista
ab507b68dc upd1771.c: resolve_safe(), heeding advice. (nw) 2014-03-12 04:09:55 +00:00
Jonathan Gevaryahu
840462f583 remove duplicate type definition of FPTR, fix compile on GCC 4.4.7
(other definition is in osdcomm.h, which pmwinmm.c #includes right above the duplicated definition)
2014-03-12 02:28:49 +00:00
Justin Kerk
c5f97d99c7 oops (nw) 2014-03-12 02:18:46 +00:00
Justin Kerk
c521b8b150 Silence more clang warnings (nw) 2014-03-12 01:54:18 +00:00
David Haywood
25759faf79 new clone
Billard List [system11]

(not all ROMs were dumped from the board, I've marked the ones that weren't sa BAD_DUMP until they're verified.)

also modified the clocks based on his measurements, it's stupidly slow now, but that's how the PCB is according to what has been said.
2014-03-11 23:43:35 +00:00
smf-
27ecfbe3e7 added a note against SCPH-5002 that it might not exist (nw) 2014-03-11 20:59:47 +00:00
Alex W. Jackson
000fed0aea spu.c, discrete.c: global_free fixes (nw) 2014-03-11 20:52:03 +00:00
Wilbert Pol
621083947c Fixed OSX debugger and clang compile fix (nw) 2014-03-11 20:28:47 +00:00
Michaël Banaan Ananas
eb97b7e1af small improvement to loop offset and final volume 2014-03-11 20:10:44 +00:00
Miodrag Milanovic
4c3dd33d93 fix for stream_buffer free (nw) 2014-03-11 19:48:14 +00:00
Wilbert Pol
7356f8c7e4 Fix clang compile (nw) 2014-03-11 19:14:35 +00:00
Mike Naberezny
44e07aea5c (MESS) hardbox: Fix comment. (nw) 2014-03-11 18:39:47 +00:00
Michael Zapf
f06394b6fd (MESS) Some more variable initializations.(nw) 2014-03-11 18:37:52 +00:00
Michaël Banaan Ananas
2f84db3331 frac can possibly go over 16bits 2014-03-11 18:08:45 +00:00
Roberto Fresca
9711c34096 Double-Up Poker (Jubilee) improvements [Roberto Fresca]
Added partial lamps support (some are missing), and a
workaround for discrete sounds trigger offsets. Also
a zillion of technical notes about findings.
2014-03-11 18:02:57 +00:00
Roberto Fresca
2f9210f892 Added button-lamps support to all Cherry Bonus III sets.
Also created almost realistic control panel internal layout.
Added technical notes about Cherry Bonus III memory map.
[Roberto Fresca]
2014-03-11 17:36:06 +00:00
Oliver Stöneberg
d965157fcc more clang and Linux compilation fixes (nw) 2014-03-11 17:27:39 +00:00
Ivan Vangelista
7f6756ef15 Updated upd1771.c to use devcb2 (nw) 2014-03-11 17:25:40 +00:00
Oliver Stöneberg
c8ea1c0d04 fixed GCC/clang compilation / fixed some forward declarations (nw) 2014-03-11 17:13:40 +00:00
David Haywood
e647a2b812 just some experimentation with the sound hardware on MegaPhoenix, still wrong (nw) 2014-03-11 16:45:36 +00:00
Michaël Banaan Ananas
821d24f77b documentation + small cleanup. No functional change 2014-03-11 16:44:16 +00:00
Aaron Giles
b81f497a93 Fix a couple of compile errors, leftover debugging. 2014-03-11 15:58:45 +00:00
Aaron Giles
4ea9df02a1 Moved core template container classes up from emutempl.h to coretmpl.h:
[Aaron Giles]
 * these classes now no longer take a resource_pool; everything is
    managed globally -- this means that objects added to lists must be
    allocated with global_alloc
 * added new auto_pointer<> template which wraps a pointer and auto-frees
    it upon destruction; it also defaults to NULL so it doesn't need to
    be explicitly initialized
 * moved tagged_list template to tagmap.h

Redo of the low-level memory tracking system: [Aaron Giles]
 * moved low-level tracking out of emu\emualloc into lib\util\corealloc
    so it can be shared among all components and used by core libraries
 * global_alloc and friends no longer use a resource pool to track
    allocations; turns out this was a wholly redundant system that wasted
    a lot of memory
 * removed global_resource_pool entirely
 * added global_free_array to delete arrays allocated with 
    global_alloc_array
 * added tracking of object versus array allocation; we will now error
    if you use global_free on an array, or global_free_array on an object

Added new utility helper const_string_pool which can be used to 
efficiently accumulate strings that are not intended to be modified.
Used by updated makelist and software list code. [Aaron Giles]

Updated png2bdc and makelist tools to not leak memory and use more modern
techniques (no more MAX_DRIVERS in makelist, for example). [Aaron Giles]

Deprecated auto_strdup and removed all uses by way of caller-managed 
astrings and the software list rewrite. [Aaron Giles]

Rewrote software list management: [Aaron Giles]
 * removed the notion of a software_list that is separate from a
    software_list_device; they are one and the same now
 * moved several functions into device_image_interface since they really
    didn't belong in the core software list class
 * lots of simplification as a result of the above changes

Additional notes (no whatsnew):

Moved definition of FPTR to osdcomm.h.

Some changes happened in the OSD code to fix issues, especially regarding
freeing arrays. SDL folks may need to fix up some of these.

The following devices still are using tokens and should be modernized
(I found them because they kept their token as void * and tried to
delete it, which you can't):

namco_52xx_device (mame/audio/namco52.c)
namco_54xx_device (mame/audio/namco54.c)
namco_06xx_device (mame/machine/namco06.c)
namco_50xx_device (mame/machine/namco50.c)
namco_51xx_device (mame/machine/namco51.c)
namco_53xx_device (mame/machine/namco53.c)
voodoo_device (emu/video/voodoo.c)
mos6581_device (emu/sound/mos6581.c)
aica_device (emu/sound/aica.c)
scsp_device (emu/sound/scsp.c)
dmadac_sound_device (emu/sound/dmadac.c)
s3c2440_device (emu/machine/s3c2440.c)
wd1770_device (emu/machine/wd17xx.c)
latch8_device (emu/machine/latch8.c)
duart68681_device (emu/machine/68681.c)
s3c2400_device (emu/machine/s3c2400.c)
s3c2410_device (emu/machine/s3c2410.c)
strataflash_device (mess/machine/strata.c)
hd63450_device (mess/machine/hd63450.c)
tap_990_device (mess/machine/ti99/990_tap.c)
omti8621_device (mess/machine/omti8621.c)
vdt911_device (mess/video/911_vdt.c)
apollo_graphics_15i (mess/video/apollo.c)
asr733_device (mess/video/733_asr.c)
2014-03-11 15:54:58 +00:00
Miodrag Milanovic
b05606404a k007342_device callbacks and params modernized as example how to do it :) (nw) 2014-03-11 14:35:17 +00:00
Alex W. Jackson
04b9d9e0f9 Checkpoint: gfx_elements now have a pointer to a palette_device (which is not actually initialized or used yet), and no longer have an unneeded pointer to the running_machine. Removed some gfx_element getter methods described in comments (by Aaron?) as 'a bit gross', and fixed the tiny handful of drivers that were using them (nw) 2014-03-11 14:28:45 +00:00
R. Belmont
940bb2190e (MESS) apollo: cleanup (nw) 2014-03-11 13:53:25 +00:00
Curt Coder
0a5d2f5dfa mc6852: Fixed state saving. (nw) 2014-03-11 13:44:27 +00:00
David Haywood
51871ba957 workaround for internal compiler error when using vs2013 64-bit (nw) 2014-03-11 13:39:45 +00:00
Curt Coder
22b1da4b2c (MESS) mc6852: devcb2 + diserial. (nw) 2014-03-11 13:36:53 +00:00