summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update machine.cpp PugsyMAME2017-02-251-0/+1
|
* srcclean (nw) Vas Crabb2017-01-221-2/+2
|
* Fix issue enabling/disabling http (nw) Miodrag Milanovic2017-01-041-0/+2
|
* One more fix (nw) Miodrag Milanovic2017-01-041-1/+1
|
* Added initial HTTP/HTTPS webserver/websocket server support (nw) Miodrag Milanovic2017-01-041-1/+29
|
* Revert "moved debugger_access() from address space to machine & removed the ↵ Vas Crabb2016-11-211-10/+0
| | | | | | anti-patterns that updated cascading address spaces. [smf]" This reverts commit 5f05fbf61348c65204fde1e2aeed72de4cb56593.
* moved debugger_access() from address space to machine & removed the ↵ smf-2016-11-191-0/+10
| | | | anti-patterns that updated cascading address spaces. [smf]
* Introduce u8/u16/u32/u64/s8/s16/s32/s64 Vas Crabb2016-11-191-4/+4
| | | | | | | | | | | | * New abbreviated types are in osd and util namespaces, and also in global namespace for things that #include "emu.h" * Get rid of import of cstdint types to global namespace (C99 does this anyway) * Remove the cstdint types from everything in emu * Get rid of U64/S64 macros * Fix a bug in dps16 caused by incorrect use of macro * Fix debugcon not checking for "do " prefix case-insensitively * Fix a lot of messed up tabulation * More constexpr * Fix up many __names
* machine: don't do the periodic_check before every timeslice (nw) cracyc2016-11-171-3/+0
|
* Do not use FUNC in delegate where applicable (nw) Miodrag Milanovic2016-11-061-2/+2
|
* Moved device_memory_interface from driver_device to dummy_space_device. ↵ smf-2016-11-031-1/+48
| | | | Exposed the dummy_space_device as machine().dummy_space(), with a trampoline in driver_device for existing callers. Debugger no longer needs to special case root_device() to avoid showing the dummy address space. [smf]
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-3/+3
| | | | | Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
* Soft resets no longer turn back clocks on devices AJR2016-10-091-2/+25
| | | | | | | device_rtc_interface: Cleanups and refinements (nw) - Give RTCs their own phase of machine initialization, right after NVRAM loading - Make RTC feature flag overrides const, including one new one - Make rtc_clock_updated a required override
* std::min and std:max instead of MIN and MAX, also some more macros converted ↵ Miodrag Milanovic2016-07-311-1/+1
| | | | to inline functions (nw)
* Introduced running_machine::compose_saveload_filename() function to convert ↵ Nathan Woods2016-07-101-7/+28
| | | | a filename (for state save/load) to a fully qualified path
* Incorporated cleanups requested by Vas Crabb Nathan Woods2016-06-241-1/+1
|
* C++-ified osd_directory (now osd::directory), and added last_modified to ↵ Nathan Woods2016-06-241-1/+1
| | | | osd::directory::entry
* "game" ==> "machine" Nathan Woods2016-06-231-2/+2
|
* More efficient device error logging AJR2016-06-201-0/+13
|
* remove all usages of tagmap Miodrag Milanovic2016-06-181-2/+2
|
* Fix build on MSVC thanks to Rene, also fix debug_break crashes therealmogminer@gmail.com2016-06-081-0/+11
|
* Major refactoring of debugger core [Ryan Holtz] therealmogminer@gmail.com2016-06-081-8/+9
| | | | | | | | * Eliminate globals/file statics * Remove lots of stuff from global scope * Use std::function for custom command registration * Eliminate some trampolines * Build fixes from Vas Crabb and balr0g
* Ioport refactoring and cleanups (nw) AJR2016-05-181-1/+1
| | | | | | - Completely move mouse hit testing down into the UI input module. This reduces some dependencies. - Never return a null pointer from ioport_field::name() to prevent potential crashes. All anonymous inputs are classified as INPUT_CLASS_INTERNAL, so several frontend functions now check type_class instead. - Correct a couple of typos.
* Move slider_state and ui_menu_item into src/frontend/mame, nw therealmogminer@gmail.com2016-05-161-0/+1
|
* remove legacy calls (nw) Miodrag Milanovic2016-05-011-101/+0
|
* Make watchdog timer a separate device AJR2016-04-301-0/+12
| | | | | - Separate watchdog implementation from running_machine (once again) and driver_device - Old-style methods, now hidden behind #ifdefs, will probably be safe to remove soon
* Cleanups and version bumpmame0173 Miodrag Milanovic2016-04-271-1/+1
|
* Merge remote-tracking branch 'upstream/master' into firstrun AJR2016-04-251-1/+2
|\
| * Fixed cheat issue (nw) Miodrag Milanovic2016-04-251-1/+2
| |
* | Machine management cleanups AJR2016-04-251-3/+5
|/ | | | | | - Boolean parameter to running_machine::run is no longer firstrun (which is now a member variable of mame_machine_manager) but quiet, which disables logging and audio recording without explicitly checking the system name. - Sound recording is now turned on and off by explicit calls. The potential uses of this have not been explored. - Dependencies reduced on drivenum.h, where the declaration for GAME_NAME(___empty) has been moved to.
* Split UI and frontend part from core [Miodrag Milanovic] Miodrag Milanovic2016-04-231-50/+10
|
* Iterate over devices C++11 style AJR2016-04-181-37/+29
| | | | | | Replace the old device_iterator and its specialized versions with functionally equivalent classes that use standard operators to yield references to devices/interfaces rather than pointers. With range-based for loops, they no longer have to be stored in named variables, though they can also be reused concurrently since the iteration state is now maintained by a subclass. Add a few more typical getters to device_t::subdevice_list.
* whoops, that's not a format string Vas Crabb2016-04-101-1/+1
|
* remove ui/ui.h dependency from emu.h (for couriersud) Vas Crabb2016-04-101-0/+18
|
* Cleanups and version bump Miodrag Milanovic2016-03-301-1/+1
|
* Add ability for notifiers to add at front, fix for hiscore [Carl] Miodrag Milanovic2016-03-291-2/+5
|
* removed disclaimer since it was not shown anyway and it is known fact (nw) Miodrag Milanovic2016-03-281-1/+1
|
* removed double string in some instances of "Fatal error: Error: x" hap2016-03-201-2/+2
|
* Fix creation of paths on POSIX Vas Crabb2016-03-191-57/+57
|
* Fix logerror Vas Crabb2016-03-191-1/+1
|
* * Remove confusing method from vectorstreams that hide base_ios method ↵ Vas Crabb2016-03-181-1/+1
| | | | | | | | | | | | | (fixes disassembly view) * Allow std::string to pass through core_file unmolested (reduces temporary allocations) * Make zip/7z instances of same class with uniform interface * zippath browsing is broken at the moment This is another step towards transparent archive support. It's now possible to access zip and 7z archives with the same code. Nothing is taking advantage of it yet. There's now some very similar code in fileio.cpp and clifront.cpp that could be folded at some point.
* Make osd_file a polymorphic class that's held with smart pointers Vas Crabb2016-03-141-7/+7
| | | | | | | | | | | | | | | Make avi_file a class that's held with smart pointers, encapsulate various AVI I/O structures Make zip_file and _7z_file classes rather than having free functions everywhere Hide zip/7z class implementation behind an interface, no longer need to call close() to send back to the cache Don't dump as much crap in global namespace Add solaris PTY implementation Improve variable expansion for SDL OSD - supports ~/$FOO/${BAR} syntax Rearrange stuff so the same things are in file module for all OSDs Move file stuff into its own module 7z/zip open and destruct are still not thread-safe due to lack of interlocks around cache access Directory functions still need to be moved to file module SDL OSD may not initialise WinSock on Windows
* Don't need to call FlushFileBuffers (it's equivalent to fsync, not fflush) Vas Crabb2016-03-111-2/+1
|
* commented out regression slow error.log on Windows hap2016-03-111-1/+3
|
* Fix some oversights in previous changes, sorry guys'n'gals Vas Crabb2016-03-031-1/+1
|
* Let's attack core_i64_format, too. This cleans up abuse of static buffers ↵ Vas Crabb2016-03-011-1/+1
| | | | in the unmapped read/write reporters
* Explicitly flush log file on each line Vas Crabb2016-03-011-0/+3
|
* * Support *n conversion in stream_format/string_format Vas Crabb2016-03-011-73/+1
| | | | | | | | | * Make stream_format return characters printed * Add iostreams with std::vector storage * Move to type-safe templates for logerror and popmessage * Remove now-unnecessary I64FMT from calls to logerror/popmessage * Put some lib/util stuff in util:: namespace * Some fixes to Japanese translation
* Replace strformat, strprintf and strcatprintf with type-safe steam_format ↵ Vas Crabb2016-02-281-6/+7
| | | | | | | | | and string_format Update MAME to use new function Instantiate ODR-used static constant members Make some of the UI code more localisable Remove use of retired functions in tools
* Clean way of doing it (nw) Miodrag Milanovic2016-02-271-1/+0
|