Commit Graph

140 Commits

Author SHA1 Message Date
ImJezze
81c15decf8 Smooth Borders
- enabled smooth border effect and added option, its amount is limited
by the amount of rounded corners
- added raster.ini to parse_standard_inis()
- merged vector and raster bloom options, use vector.ini or raster.ini
to distinguish
2015-10-09 18:49:39 +02:00
Ariane Fugmann
e14de8c687 Core - Added emulation options for comm settings 2015-06-06 23:37:57 +02:00
Miodrag Milanovic
2bc25b0a9d remove printfs (nw) 2015-04-22 13:28:15 +02:00
Miodrag Milanovic
da12f5356a bugix and sdl fix (nw) 2015-04-22 13:22:18 +02:00
Miodrag Milanovic
54f8b3ae5d moved all to std::string (nw) 2015-04-22 11:30:45 +02:00
Miodrag Milanovic
71c4d9f304 removed bool conversion and implicit empty check (nw) 2015-04-19 12:08:52 +02:00
Miodrag Milanovic
3c3ee1d177 more conversions to std::string (nw) 2015-04-19 08:08:34 +02:00
Miodrag Milanovic
59bb9d4fd6 some astring to std::string conversion (nw) 2015-04-18 18:35:04 +02:00
Miodrag Milanovic
2edee0b811 updated astring constructors to have just one string param, to be more like std::string (nw) 2015-04-13 12:25:21 +02:00
Miodrag Milanovic
7faba31b1b There is no implicit conversion to char* in std::string (nw) 2015-04-12 08:05:43 +02:00
Miodrag Milanovic
6b36c7ab22 cstr() - > c_str() as preparation for move to std::string (nw) 2015-04-11 15:26:58 +02:00
Oliver Stöneberg
442aedc911 made -[no]dummywrite DEBUG only and removed it from the official documentation (nw) 2015-03-24 10:37:17 +01:00
Oliver Stöneberg
27460ff717 added command-line option -[no]dummywrite to create snaphots of each frame without writing them to a file [Oliver Stöneberg]
this is a dummy implementation of -aviwrite/-mngwrite and is used in
testruns to detect e.g. palette issues. the dummy implementation greatly
speed up testrun since it avoids the snapshot to file format conversions
as well as the I/O operations
2015-03-17 14:10:24 +01:00
Miodrag Milanovic
26e7a17b63 Cleanups and version bump 2015-01-28 09:20:10 +01:00
etabeta78
a87d6d0442 ui: fixed bug where software items that shall create new image
devices (e.g., passthru carts) or new slot options, failed to do
so when loaded through the File Manager in the internal
UI. [Fabio Priuli]

out of whatsnew: to see the bug, try to launch with previous code nes with no
options, then mount ggenie cart and, after the reboot, try to mount any other
game in the -cart2 media switch. System will reboot, but only ggenie remains
mounted.
Alternatively, launch c64 and manually mount cbmieee from the UI. After
reboot the serial slot options in the Slot Options menu are not configurable, because
the core was not "informed" of their addition, and any cart you try to mount in -cart2
will be ignored, because the new media switch is not acknowledged by the core.
Once again, from command line everything was fine, and thus the issue was hard to
spot :)
2015-01-19 11:48:33 +01:00
couriersud
e216457fcd Untangled options inheritance. Previously code locked in osd_options
locking any potential future OSD to these.
Options inheritance now is

core_options
emu_options
cli_options
osd_options
[sdl|win]_osd_options

This required a number of minor changes to other code as well. 
Tested on linux-sdl, windows-sdl, windows-mainline, osx-sdl
2015-01-13 20:23:00 +01:00
Oliver Stöneberg
98c4b826c3 added command-line option -[no]drc_log_native to control DRC native diassembly logging [Oliver Stöneberg]
allows logging of DRC native disassembly without re-compiling / removes
DRCUML_OPTION_LOG_NATIVE and all the core-specific LOG_NATIVE defines /
added logging() to drcbe_interface / added logging_native() to
drcuml_state
2014-11-07 21:24:35 +01:00
Oliver Stöneberg
b4e8437573 added command-line option -[no]drc_log_uml to control DRC UML disassembly logging [Oliver Stöneberg]
allows logging of DRC UML disassembly without re-compiling / removes
DRCUML_OPTION_LOG_UML and all the core-specific LOG_UML defines
2014-11-07 11:20:27 +01:00
Oliver Stöneberg
a9bef4c516 small adjustment to -snapbilinear description (nw) 2014-10-25 20:46:25 +02:00
Oliver Stöneberg
4f9db1e734 added command-line option -[no]snapbilinear to control binlinear filtering for snapshots (enabled by default) [Oliver Stöneberg]
this is mainly for making testruns and debugging faster - could also be
used to speed up -aviwrite usage though
2014-10-25 18:14:16 +02:00
Michaël Banaan Ananas
af251eb276 new clone added
---------------
Donkey Kong: Pauline Edition (hack, rev 5) [Clay Cowgill]
2014-09-22 22:48:08 +00:00
Miodrag Milanovic
991212c069 -Created machine_manager as singleton class that contains (for now) one running machine [Miodrag Milanovic]
-Updated LUA engine to run in machine_manager instead of being initialized per machine
-Added "-console" option so emulator can be started with LUA enabled console
-Update LUA to version 5.2.3 
-Enabled SQLite3 to be compiled and added LUA module for it
2014-06-06 10:11:31 +00:00
Miodrag Milanovic
d740f275ef Placing reverting options on proper place (nw) 2014-06-03 13:03:14 +00:00
mahlemiut
8a06918131 revert r30583, it breaks -ramsize option (no whatsnew) 2014-06-03 07:12:54 +00:00
Miodrag Milanovic
42b4acfec3 slots are now taken in consideration even if defined in ini only (nw) 2014-05-21 12:05:32 +00:00
Miodrag Milanovic
69faaf3aeb -Reorganized OSD, handling more sound output systems and debuggers, defaults left same as before [Miodrag Milanovic]
-Created osd_options as base option class for non-system specific options
2014-05-08 07:39:04 +00:00
David Haywood
40e8f47f3f use the flag set by the GAME/CONS/COMP/SYST macro to parse additional optional ini files
GAME = GAME_TYPE_ARCADE -> arcade.ini
CONS = GAME_TYPE_CONSOLE -> console.ini
COMP = GAME_TYPE_COMPUTER -> computer.ini
SYST = GAME_TYPE_OTHER -> othersys.ini

I've had a few requests to do this and it seems simple enough to leverage the flags we already have.
2014-05-01 07:54:09 +00:00
Miodrag Milanovic
9a978e9be5 Removed not used option (nw) 2014-04-17 13:17:47 +00:00
Miodrag Milanovic
452df5037b reverting to classic ui due to lot of issues, as much as I hate reverting some else code (nw) 2014-04-17 06:27:03 +00:00
Miodrag Milanovic
67663501d7 Moved eminline and related files into /src/osd since it's system related (nw)
Moved delegates into /src/lib/util to enable usage of delegates in other project parts

Moved mame_printf_* calls into /src/osd/osdcore.c and renamed them to osd_printf_* 

Changed mess.mak to display compilation of ymmu100.ppm nicely
2014-04-16 08:04:20 +00:00
Miodrag Milanovic
7712d5e841 reverting r28187, if menus are unusable at that size user should make window bigger (nw) 2014-04-15 13:54:20 +00:00
Nathan Woods
24026e123e Merge of new menubar code 2014-04-12 20:52:03 +00:00
Miodrag Milanovic
fec65e0b57 Cleanups and version bump 2014-04-07 06:04:18 +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
Nathan Woods
4b7c39ba40 Adding minimum width/height options; defaulting to '0' so there is no change in behavior (the menubar branch will have different defualts) 2014-03-02 13:21:32 +00:00
smf-
cc9b510f9c Slot options can now be configured inline without creating an array. Legacy support for old configuration uses MCFG_FRAGMENT_ADD, which required changing so the current device could be updated by the fragment. [smf] 2013-12-16 19:31:52 +00:00
Aaron Giles
5d0ce54f9e Bulk convert files that already had standard BSD license in my name
to new license tagged form.
2013-10-16 08:14:49 +00:00
R. Belmont
6e06426096 web: Fix web options reading from ini, improved load/save state UI [Firehawke] 2013-09-24 14:02:47 +00:00
Miodrag Milanovic
96aa5e1c08 Cleanups and version bump 2013-09-17 06:47:03 +00:00
Miodrag Milanovic
0b59be30bb Added command line option to force DRC C backend [Miodrag Milanovic] 2013-08-27 13:27:39 +00:00
Miodrag Milanovic
e72ada1fbd Made both DRC and Non-DRC compile for MIPS, RSP and SH2 core and added option to enable/disable DRC from command line (-drc -nodrc by default it's on) [Miodrag Milanovic] 2013-08-27 12:12:55 +00:00
Miodrag Milanovic
f1b81c7e98 Initial commit of internal web server, mostly to check compiling on various platforms (nw) 2013-08-07 07:20:01 +00:00
Fabio Priuli
8d7e236c83 emuopts.c: Added a new option -statename which allows to specify the location of state saving,
relative to -state_directory (whose usage remains unchanged). Syntax is basically the same 
as snapname, allowing for the  / character as path separator, %g as the driver name, and 
%d_[media] as the image name mounted in the "media" device. 

For example, using -statename foo/%g when running "mame wrally" will store save states into 
the folder sta/foo/wrally/ ; using -statename %g/%d_cart when running "mess nes -cart smb" 
will store save states into the folder sta/nes/smb/ ; using -statename %g/%d_cdrm when
running "mess pce -cart cdsys -cdrm draculax" will store save states into sta/pce/draculax/
Specifying a media switch which is not available (e.g. %d_cdrm in a c64) or a media switch
where no image is mounted (e.g. %d_cdrm in pce while playing a hucard game) will revert
the option to its default value %g and save states will be stored in sta/*gamename*/ as in
previous versions. [Fabio Priuli]

Needless to say, this option is very useful with home computers and consoles in MESS since it
allows to have 36 save slots for each game instead of 36 for the whole system library

Notice that a clean compile is required, due to the addition to the running_machine class
2013-05-28 05:12:28 +00:00
Miodrag Milanovic
4a09e17523 LUA 5.2.2 added to libraries, did basic hookup of LUA VM into running machine [Miodrag Milanovic]
added -script (or -autoboot_script) command to execute LUA script after driver startup
2013-05-09 13:57:44 +00:00
Miodrag Milanovic
715ac716d5 Autoboot command support added [Ben Geeves,Miodrag Milanovic] 2013-05-06 17:14:13 +00:00
Wilbert Pol
3dd335f46d (MESS) Be a bit more fine-grained in when to mark slot options as internal. (nw) 2013-02-27 21:41:49 +00:00
Wilbert Pol
b45e920912 emuopts.c: Re-evaluate slot options after loading .ini files. [Wilbert Pol] 2013-02-26 20:31:13 +00:00
Wilbert Pol
75b6da8281 Slightly clearer and safer (nw) 2013-02-21 20:21:28 +00:00
Wilbert Pol
742f7e2ff5 Don't save out internally determined settings to .ini files. (nw) 2013-02-21 19:56:46 +00:00
Fabio Priuli
737daef258 revert previous r21062. check must be put elsewhere... 2013-02-14 16:33:13 +00:00