summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/clifront.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-1947/+0
|
* Relaxed emu.h a bit, should make compile a bit faster (nw) Miodrag Milanovic2015-11-051-0/+1
|
* change flags from GAME_ to MACHINE_ David Haywood2015-07-291-3/+3
| | | | this better fits the drivers from MESS (which have always illogically used the GAME_ flags despite not being games) and also fits fine with arcade machines.
* Actually return an error when the validity check fails Dirk Best2015-07-111-1/+3
|
* clifront.c: Parse ini files before looking for software. (nw) Wilbert Pol2015-06-051-1/+2
| | | | | | | | | This way the hashpath setting will actually be used to search for software in software lists. This only occured when starting the emulator with the auto-search/mounting-software-feature: mame nes sonic this format worked ok: mame nes -floppy sonic
* Cleanups and version bumpmame0162 Miodrag Milanovic2015-05-271-22/+22
|
* check device roms only once as well when using -romident. this does not help etabeta782015-05-131-15/+21
| | | | | as much as the softlist change, but there was no reason to keep the old unoptimal behavior. nw.
* clifront.c: Slightly optimized -romident so that each software list is etabeta782015-05-131-27/+22
| | | | | | | parsed only once instead of as many times as the number of drivers it is attached to. Also, removed the implication that files with (size != power of 2) are to be skipped, since we now want to identify also tapes and floppies and not only ROM binaries. [Fabio Priuli]
* moved all to std::string (nw) Miodrag Milanovic2015-04-221-33/+34
|
* removed bool conversion and implicit empty check (nw) Miodrag Milanovic2015-04-191-3/+3
|
* Replace dynamic_array with std::vector [O. Galibert] Olivier Galibert2015-04-141-13/+13
|
* updated astring constructors to have just one string param, to be more like ↵ Miodrag Milanovic2015-04-131-1/+1
| | | | std::string (nw)
* string -> str rename due to future conflicts (nw) Miodrag Milanovic2015-04-121-2/+2
|
* There is no implicit conversion to char* in std::string (nw) Miodrag Milanovic2015-04-121-2/+2
|
* cstr() - > c_str() as preparation for move to std::string (nw) Miodrag Milanovic2015-04-111-20/+20
|
* Cleanups and version bumpmame0158 Miodrag Milanovic2015-01-281-19/+19
|
* Changed osd_font to struct osd_font and removed unnecessary osdepend.h couriersud2015-01-171-0/+2
| | | includes.
* OSD Updates: couriersud2015-01-141-86/+6
| | | | | - OSD can now use OPTION_COMMAND; added execute_command handler to osd_interface. - moved list_network_devices and list_midi_devices to OSD
* Untangled options inheritance. Previously code locked in osd_options couriersud2015-01-131-1/+32
| | | | | | | | | | | | | 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
* Converted back osd_interface into a pure interface. couriersud2015-01-121-3/+1
| | | | | | | The previous version just exhibited any member of osd_interface to the core. This one limits core access to osd to those functions originally specified. There is room for improvement going forward here in the design. Left FIXMEs where appropriate. (nw)
* Moved osd midi stuff to osd/modules/midi. Needed to touch a couple of couriersud2015-01-091-1/+1
| | | | other files so that mame compiles and links. Tested SDL build (linux/windows).
* Added -listnetwork option to list available network adapters Miodrag Milanovic2014-10-231-0/+15
|
* softlist: fixed inconsistent -listsoftware output. [phulshof] Fabio Priuli2014-09-161-7/+6
|
* do not start tagmap lookup counting until everything is initialized / tagmap ↵ Oliver Stöneberg2014-09-091-6/+0
| | | | lookups are now properly shown for each execution when running multiple sets from built-in UI instead of only when exiting MAME completely (nw)
* moved tagged_list:: out of tagged_list to make it catch-able / handle ↵ Oliver Stöneberg2014-09-081-0/+5
| | | | add_exception / updated exception handling unidasm to match the main one and return a proper exitcode in case of an error (nw)
* Cleanups and version bump Miodrag Milanovic2014-07-221-2/+2
|
* improved exception reporting in cli_frontend (nw) Oliver Stöneberg2014-07-021-2/+2
|
* Different version of OSX segfault fix (nw) Wilbert Pol2014-06-231-1/+1
|
* Prevent segfault on OSX (nw) Wilbert Pol2014-06-231-1/+1
|
* romident: print a summary at the end, instead of garbage. Robbbert2014-06-101-3/+3
|
* -Created machine_manager as singleton class that contains (for now) one ↵ Miodrag Milanovic2014-06-061-1/+3
| | | | | | | | | 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
* Placing reverting options on proper place (nw) Miodrag Milanovic2014-06-031-0/+2
|
* revert r30583, it breaks -ramsize option (no whatsnew) mahlemiut2014-06-031-2/+0
|
* slots are now taken in consideration even if defined in ini only (nw) Miodrag Milanovic2014-05-211-0/+2
|
* Placed parsing properly so warnings are displayed, was bug for a longer ↵ Miodrag Milanovic2014-05-091-8/+11
| | | | period (nw)
* fix Error in command line not being visible due to buffering, also cleaned ↵ Miodrag Milanovic2014-05-091-7/+7
| | | | some other (nw)
* Moved eminline and related files into /src/osd since it's system related (nw) Miodrag Milanovic2014-04-161-74/+74
| | | | | | | | 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
* small core_strwildcmp() clarification (nw) Oliver Stöneberg2014-04-071-2/+2
|
* Fix listsamples and one other potential problematic place, and fixed better ↵ Miodrag Milanovic2014-04-031-2/+2
| | | | devctrl (nw)
* removed mame_* aliases and just use core_* functions (nw) Oliver Stöneberg2014-03-241-4/+4
|
* Adjustment to -listdevices output to allow for more depth and better ↵ Scott Stone2014-03-201-1/+1
| | | | separation between device name and description in extreme cases. (nw)
* Moved core template container classes up from emutempl.h to coretmpl.h: Aaron Giles2014-03-111-171/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [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)
* first round of printf fixes (nw) Oliver Stöneberg2014-02-251-4/+4
|
* fixed non-DEBUG build (nw) Oliver Stöneberg2014-02-211-1/+1
|
* added DEBUG-only tagmap lookup counter (nw) Oliver Stöneberg2014-02-211-0/+6
|
* Resolved bug MT05443 (nw) Miodrag Milanovic2014-02-061-0/+7
|
* Slot options can now be configured inline without creating an array. Legacy ↵ smf-2013-12-161-12/+14
| | | | support for old configuration uses MCFG_FRAGMENT_ADD, which required changing so the current device could be updated by the fragment. [smf]
* Bulk convert files that already had standard BSD license in my name Aaron Giles2013-10-161-31/+2
| | | | to new license tagged form.
* Cleanups and version bumpmame0150 Miodrag Milanovic2013-09-171-2/+2
|
* Improve -listdevices display, sorting by tag and showing device Aaron Giles2013-08-081-3/+42
| | | | hierarchies.