summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/romload.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Introduce u8/u16/u32/u64/s8/s16/s32/s64 Vas Crabb2016-11-191-30/+30
| | | | | | | | | | | | * 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
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-30/+30
| | | | | 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
* dynamic_buffer is just std::vector<UINT8> (nw) Miodrag Milanovic2016-10-211-1/+1
|
* srcclean (nw) Vas Crabb2016-09-261-1/+0
|
* Merge pull request #1180 from npwoods/split_softlist_code_redo Miodrag Milanović2016-08-081-2/+2
|\ | | | | Redo of split of src/emu/softlist.[cpp|h]
| * Redo of split of src/emu/softlist.[cpp|h] Nathan Woods2016-08-021-2/+2
| | | | | | | | | | | | | | | | This is a redo of the split first submitted in #137, with the following differences: * The newly refactored rom_entry data structure is used * I've kept the refactored softlist code in src/emu, in order to defer the mechanical process of moving it * I've kept includes of softlist[_dev].h out of diimage.h, so that changes to either do not trigger an emu.h recompilation * Obviously, this goes against the latest master
* | C++-fiied code that iterates over rom_entry arrays (without usage of ↵ Nathan Woods2016-08-071-8/+7
| | | | | | | | rom_[first|next]_*)
* | Created a tiny_rom_entry structure for the purposes of rom_entry ↵ Nathan Woods2016-08-061-0/+27
| | | | | | | | | | | | | | | | declarations in code, and a first pass at the required core changes to unpack tiny_rom_entry structures at runtime. WARNING - I've done preliminary testing on a tiny build (pacman works), but nothing more. I know for a fact that a full compile fails
* | Fixed ROM_FILL when fill value is hex. Robbbert2016-08-051-1/+1
|/
* Fixed breakage caused by a change in how the byte for ROM_FILL is ↵ Nathan Woods2016-08-011-5/+8
| | | | represented with recent changes
* Added some default constructors to rom_entry(), and made it so changes to ↵ Nathan Woods2016-08-011-1/+1
| | | | flags are done through a set_flags() accessor method
* Changes rom_entry from a struct to a class, storing its strings as ↵ Nathan Woods2016-08-011-7/+7
| | | | | | | std::string and separated the declaration into a new header. This should really be followed up by further changes to eliminate the usage of the weird accessor macros in favor of conventional C++ accessors
* for bool type use true and false (nw) Miodrag Milanovic2016-07-311-12/+12
|
* std::min and std:max instead of MIN and MAX, also some more macros converted ↵ Miodrag Milanovic2016-07-311-2/+2
| | | | to inline functions (nw)
* Changed various string arguments for emu_file::open() from 'const char *' to ↵ Nathan Woods2016-07-291-2/+2
| | | | std::string
* Moved src/emu/hash.[cpp|h] into src/lib/util, and namespaced that code (and ↵ Nathan Woods2016-07-231-13/+13
| | | | hashing.[cpp|h]) into util::
* Exposed several strings as std::string on softlist objects, and fixed a few bugs Nathan Woods2016-07-201-2/+1
|
* const correctness related changes to softlist Nathan Woods2016-07-191-1/+1
|
* Cleanup and version bumpmame0175 Miodrag Milanovic2016-06-291-1/+1
|
* Added command strobe callback interface for LDV1000, and hooked it up to ↵ angelosa2016-06-151-2/+0
| | | | | | esh.cpp driver. [Angelo Salese] (out of whatsnew: also fixed irq 0 hookup, using device_timer to ack an irq for MAME is never a good idea)
* romload.cpp: added ROMX_FILL, passing a ROM_SKIP(param_value) will fill and ↵ angelosa2016-06-151-1/+10
| | | | | | | skip just like a ROM_LOAD16_BYTE macro [Angelo Salese] Added line blinking and overlay opacity selectors for esh.cpp [Angelo Salese] Some minor improvements for LDP-1000 (nw)
* Cleanups and version bumpmame0173 Miodrag Milanovic2016-04-271-1/+1
|
* Various cleanups suggested by static analyzer (nw) Miodrag Milanovic2016-04-241-1/+1
|
* Split UI and frontend part from core [Miodrag Milanovic] Miodrag Milanovic2016-04-231-2/+2
|
* Iterate over devices C++11 style AJR2016-04-181-35/+35
| | | | | | 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.
* Make osd_file a polymorphic class that's held with smart pointers Vas Crabb2016-03-141-24/+24
| | | | | | | | | | | | | | | 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
* Fix rom load warning messages (nw) Robbbert2016-02-291-4/+4
|
* Replace strformat, strprintf and strcatprintf with type-safe steam_format ↵ Vas Crabb2016-02-281-18/+18
| | | | | | | | | 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
* Remove redundant defines, in order to make translation easier (nw) Miodrag Milanovic2016-02-201-5/+3
|
* Initial import of MEWUI to MAME [Dankan1890] Dankan18902016-02-041-2/+2
|
* reverting: Miodrag Milanovic2016-01-201-2/+2
| | | | | | | SHA-1: 1f90ceab075c4869298e963bf0a14a0aac2f1caa * tags are now strings (nw) fix start project for custom builds in Visual Studio (nw)
* Revert "rest of device parameters to std::string (nw)" Miodrag Milanovic2016-01-201-1/+1
| | | | This reverts commit caba131d844ade3f2b30d6be24ea6cf46b2949d7.
* Revert "Fix for hang, emu_options::add_slot_options was changed, other ↵ Miodrag Milanovic2016-01-201-1/+1
| | | | | | things are just cleanup (nw)" This reverts commit 841a55985e60a16f745422fb9aa06c420d8be8ba.
* Revert "Memory region to use std::string (nw)" Miodrag Milanovic2016-01-201-2/+2
| | | | This reverts commit 14d0bff4d0dca0fb6e6b7bd70e29b3d4f0d18061.
* Memory region to use std::string (nw) Miodrag Milanovic2016-01-201-2/+2
|
* Fix for hang, emu_options::add_slot_options was changed, other things are ↵ Miodrag Milanovic2016-01-181-1/+1
| | | | just cleanup (nw)
* rest of device parameters to std::string (nw) Miodrag Milanovic2016-01-161-1/+1
|
* tags are now strings (nw) Miodrag Milanovic2016-01-161-2/+2
| | | | fix start project for custom builds in Visual Studio (nw)
* final touch on romload modernization (nw) Miodrag Milanovic2016-01-111-16/+13
|
* vector instead of simple_list (nw) Miodrag Milanovic2016-01-111-11/+9
|
* modernize rom_load_manager (nw) Miodrag Milanovic2016-01-111-312/+196
|
* Return std::string objects by value rather than pass by reference AJR2016-01-101-13/+10
| | | | | | - strprintf is unaltered, but strformat now takes one fewer argument - state_string_export still fills a buffer, but has been made const - get_default_card_software now takes no arguments but returns a string
* removed memory tracking (nw) Miodrag Milanovic2016-01-081-1/+1
|
* clang-modernize part 1 (nw) Miodrag Milanovic2015-12-031-66/+66
|
* Some cleanups and init fixes with help of ReSharper C++ (nw) Miodrag Milanovic2015-11-111-2/+0
|
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-0/+1609