| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
* osdcomm.h: Move definition of EQUIVALENT_ARRAY to coretmpl.h
* sharc.cpp, gt64xxx.cpp, ym2413.cpp, gb_lcd.cpp, snes_ppu.cpp: Use STRUCT_MEMBER for save state registration
* gio/newport.cpp, megadrive/svp.cpp, nes_ctrl/bcbattle.cpp, arm7.cpp, tms9995.cpp, pckeybrd.cpp, sa1110.cpp, sa1111.cpp, jangou_blitter.cpp, vic4567.cpp: Use std::fill(_n) instead of memset
* emucore.h: Remove obsolete typedef
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove corestr.h from emu.h; update a few source files to not use it at all
- Change strtrimspace, strtrimrightspace and core_filename_extract_* to be pure functions taking a std::string_view by value and returning the same type
- Change strmakeupper and strmakelower to be pure functions taking a std::string_view and constructing a std::string
- Remove the string-modifying version of zippath_parent
- Change tag-based lookup functions in device_t to take std::string_view instead of const std::string & or const char *
- Remove the subdevice tag cache from device_t (since device finders are now recommended) and replace it with a map covering directly owned subdevices only
- Move the working directory setup method out of device_image_interface (only the UI seems to actually use the full version of this)
- Change output_manager to use std::string_view for output name arguments
- Change core_options to accept std::string_view for most name and value arguments (return values are still C strings for now)
- Change miscellaneous other functions to accept std::string_view arguments
- Remove a few string accessor macros from romload.h
- Remove many unnecessary c_str() calls from logging/error messages
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#2263)
* Created a more flexible imgtool::datetime structure for use within Imgtool
This is intended to replace most usage of time_t
* Changing the granularity of imgtool_clock from 1ms to 100ns, as per Vas' suggestion
* Created arbitrary_datetime in timeconv.h to facilitate interpretation of datetime info
I concluded that invoking std::mktime on manually assembled std::tm is bad, because it is indeterminate how the std::tm members may be "dominant". This required that I go further in imgtool, and update a number of drivers and eliminate the parameter of imgtool::datetime that takes std::tm.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
C++-ification (#2527)
|
| | |
|
| | |
|
| |
|
|
| |
Windows doesn't like mixing std::wc[out|err] and printf()
|
| | |
|
| | |
|
| |\ |
|
| | | |
|
| |/ |
|
| |\
| |
| | |
[Imgtool] Removed dead strncatz() function
|
| | | |
|
| |/
|
|
| |
'const char *'
|
| | |
|
| |\
| |
| | |
[Imgtool] Fixed a recently introduced bug which caused image types that do not support partitions to function incorrectly
|
| | |
| |
| |
| | |
not support partitions to function incorrectly
|
| |/
|
|
| |
MALLOC_DEBUG not applicable anymore since we use new to allocate in 99.9% of cases
|
| |\
| |
| | |
[Imgtool] Consolidated logic for default implementation of imgtool::image::list_partitions()
|
| | |\ |
|
| | | |
| | |
| | |
| | | |
imgtool::image::list_partitions()
|
| |\ \ \
| |_|/
|/| |
| | | |
[Imgtool] Changed imgtool::stream::open*() to return imgtool::stream::ptr
|
| | |/
| |
| |
| | |
Updated quite a bit of client code that manually owned these pointers
|
| | | |
|
| |/ |
|
| |
|
|
|
| |
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
|
| |
|
|
| |
std::stringstream
|
| |\
| |
| | |
[Imgtool] Bulk change: 'imgtool::directory *' ==> 'imgtool::directory &'
|
| | | |
|
| |/ |
|
| | |
|
| | |
|
| |
|
|
| |
They always took ownership of the stream; this just makes it official. Because the ownership would only traditionally happen if the open() or create() succeeded, I had to do a clumsy pattern where I call get() at the beginning of the callback to get the stream, but later on release() immediately prior to succeeding.
|
| |\
| |
| | |
[Imgtool] More C++-ification (imgtool_stream ==> imgtool::stream)
|
| | | |
|
| | |
| |
| |
| | |
Still a bit of work to do, most notably around adoption of std::unique_ptr<>, which may be a challenge here on account of some assumptions regarding lifetime of streams by modules.
|
| |/ |
|
| |
|
|
|
| |
imgtool_partition ==> imgtool::partition
imgtool_directory ==> imgtool::directory
|
| |
|
|
|
|
| |
callback to be invoked if an image fails to be opened or created.
This is really a temporary workaround while Imgtool gets C++-ified; the real issue is the ad hoc nature of the existing semantics of image construction.
|