| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
| |
This should address outstanding concerns with PR#2231. I'm trying to turn emu_options into a self contained structure that encapsulates behaviors related to options, including the gymnastics pertaining to image/slot loading and interactions with get_default_card_software() and "just works".
When the MAME 0.186 development cycle starts up, I hope to take this further. I want to make core_options::entry an abstract base class so that the entries associated with image options and slot options can derive from it. This will eliminate the current need for emu_options to directly expose maps for image and slot options.
For now, I'm in stabilization mode, and I hope to get things working for a stable 0.185 release.
|
|
|
|
|
|
|
| |
Robbbert) (#2231)
This fix really doesn't go far enough. I added hooks so that options specified at the command line can also be responded to when parsed from INI files, but in the long run much of the logic that is currently in mame_options should go into emu_options so that when an option is specified, all of the wacko logic around slot/image specification "just works" because it is encapsulated within emu_options.
We have a release 11 days away; I want to be in stabilization mode.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
that "knows" when the epoch starts (#2010)
* Introduced an 'util::arbitrary_clock' template class, to represent a clock that "knows" when the epoch starts
Also:
- Converted the NTFS filetime code to use util::arbitrary_clock
- Converted the Mac datetime code to use util::atribrary_clock
This is in preparation for a bigger change to Imgtool where I eliminate usage of time_t
|
|
|
|
| |
Examples: 'mame -whatever nes' would previously be reported as "Unrecognized argument: nes"
|
| |
|
| |
|
|
|
|
| |
remove long-dead option
|
|
|
|
| |
e.g. - 'next -scsibus:1 "" -listdevices'
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
when they actually worked (#2081)
Conflicts:
src/frontend/mame/clifront.cpp
|
| | |
|
|/
|
|
|
|
|
|
| |
when they actually worked
This change also changes around how command line arguments are passed around; specifically I changed argc/argv to be std::vector<std::string>
Note this is not passed around 'const', the reason being that the command line processing will now "eat" the vector
|
|
|
|
|
|
|
|
|
|
| |
* Eliminates the need for emu_options::update_cached_options() by providing a hook for when option values change
* This is a preliminary fix to the issue identified in PR#2065
* More softlist related refactoring:
- We now only parse the command line (with core_options::parse_command_line()) once
- Options that are set up during slot and image setup go through a 'value_specifier' function
- Eliminated the command line postprocessing
|
| |
|
|
|
|
|
|
|
|
| |
* Use size_t for sizes and <algorithm> for algorithms
* Fix up some files that were getting linked into multiple libs
* Add missing virtual method to sh2 peripheral class
* Put shortname in driver struct for locality
* Use shared pointers in config LRU cache for safety
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
[Imgtool] Changed to use wcout/wcerr in order to support Unicode console output
|
| |
| |
| |
| |
| |
| |
| |
| | |
1. Changed the Win32 code to use _O_U8TEXT()
2. Reordered system #includes
3. Changed a number of 'std::wcout << ...' to use util::stream_format()
I'm getting massive code compilation issues, and it isn't clear to me what the problem is. I'm committing my WIP right now, with the intention of reviewing the specifics soon.
|
| |
| |
| |
| | |
I really don't like the prevalence of '#ifdef WIN32' in this change, both the _setmode() and bypassing codecvt. I strongly suspect that the latter is the consequence of some mistake that in practice doesn't cause problems in MSVC. I welcome all eyes.
|
| | |
|
|/ |
|
| |
|
|
|
|
| |
You're still responsible for ensuring you don't move a bitmap while a texture refers to it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
selmenu: use LRU cache so icons don't all need to be reloaded on scroll
uismall.bdf: set default character for missing glyphs
rendfont.cpp:
* encapsulate many BDF and BDC handling details
* make file I/O 64-bit clean, check for allocation errors
* more solid BDF parser with error messages and trace logging
* fix heap smash when building bitmaps for BDF fonts
* extend BDC format to support high planes and default character
* render default character if glyph not found for BDF/BDC
|
|
|
|
|
|
|
| |
* move stuff to namespace util::xml
* scope down some enums
* split config load/save delegate types
* make config load take const so it can't mangle data
|
|
|
|
|
|
| |
Galibert]
pci9050: Fix the mappings [O. Galibert]
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
|
| |
* an empty tag and a self-closing tag are semantically equivalent, so std::string can be used saving some manual allocation
* a valid tag can't have an empty name, so that can be std::string too
* still expose empty strings as nullptr to API users
* scope down the int_format enum
* # is not £ ffs
|
|
|
|
| |
(nw)
|
|
|
|
| |
default_semantics is used by apply so need to be public
|
|
|
|
| |
It's still a bit quirky but it's far better encapsulated before, and it plays nice with const (nw)
|
|
|
|
| |
This reverts commit 1efccdd38d4bac6ec44e13f0a6cdf877e3a1c7cb.
|
| |
|
|
|
|
| |
MALLOC_DEBUG not applicable anymore since we use new to allocate in 99.9% of cases
|
| |
|
|
|
|
| |
CHDERR_FILE_NOT_WRITEABLE rather than CHDERR_UNSUPPORTED_VERSION if you try to open an old version for writing [smf]
|
| |
|
| |
|
|
|
|
| |
const members now [Miodrag Milanovic]
|