| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
cassette formats. (#13294)
formats/tzx_cass.cpp: Check length of data read for TAP format blocks (fixes MT08952).
|
| | |
|
| |
|
|
|
|
| |
* formats/cassimg.cpp: Put allocation outside loop again, check more allocations for failure.
* pc8801_flop.xml: Actually mark clones as clones, transliterate title for S.F.3.D.
* apple/macadb.cpp: Tidy a little.
|
| | |
|
| |
|
|
| |
available (MT8952) (#13289)
|
| |
|
|
|
| |
emu/diimage.h: Removed fread overloads that allocate memory for output.
util/core_file.cpp: Changed output size of load to size_t.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Enabled GCC lifetime dead store elimination optimisation.
* emu/device.h: Don't pre-clear memory for drivers. Ivan Vangelista
fixed at least the majority of things that crashed outright, and
Robbbert initialised variables that coverity complained about. It's
unlikely anything will break due to this.
* sound/discrete.h: Explicitly initialise members of discrete "devices"
to zero. I don't see a way around doing this in headers due to the
macro soup used to build the constructors.
* sound/mos6581.cpp: Moved creation of the SID core to device_start and
explictly initialised members of the SID core structures. These
structures are in internal headers, so they won't cause downstream
recompiles.
-Lua engine: Made I/O port manager type_seq a bit more tolerant of
omitted arguments.
|
| |
|
|
|
|
|
|
|
| |
Added more modern generic I/O interfaces with implementation backed by stdio, osd_file and core_file, replacing io_generic. Also replaced core_file's build-in zlib compression with a filter.
unzip.cpp, un7z.cpp: Added option to supply abstract I/O interface rather than filename.
Converted osd_file, core_file, archive_file, chd_file and device_image_interface to use std::error_condition rather than their own error enums.
Allow mounting TI-99 RPK from inside archives.
|
| |
|
|
| |
Note that std::string() was tried but somehow caused another bug (tape preset as play was instead stopped).
|
| |
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
| |
- vecstream.h: Revert changes made in aa29519528cb3dbdbfac56819bea670ed8c56c5d. The std::string_view conversion has been made a non-member function (util::buf_to_string_view) and moved to coretmpl.h.
- strformat.h: Remove the using declaration importing util::string_format into the global namespace. It has been moved to emucore.h and a few tool sources; other references have been qualified.
- osdcore.h: Split out file, directory and path classes and methods to a new header (osdfile.h), Doxygenizing the documentation comments.
- Disaggregate many #includes that were including other standard or custom headers. emu.h now includes basically the same things that it did, but other headers have been streamlined; for instance, emucore.h no longer stealth-includes osdcore.h several ways.
|
| |
|
|
|
|
|
| |
- Add cassette_image::image_read_byte method for reading one byte at a time
- coco_cas.cpp: Eliminate dependency on emucore.h
- thom_cas.cpp: Declare some temporary variables much closer to where they are used
- tvc_cas.cpp: Read and write entire sectors at a time
|
| | |
|
| |
|
|
| |
-sound/tiasound.cpp: Use some vaguely C++-like code internally.
|
| | |
|
| | |
|
| |
|
|
| |
functions to tell to another person who spent minutes trying to find the functions, and we refer to such functions as swapping just about everywhere else in the codebase, nw
|
| |
|
|
|
|
|
|
|
| |
* Bug fix for multi-channel reads in cassette_get_samples().
Use the unused "sample_bytes" arg the same way as cassette_put_samples()
Can be used with multi-channel files now!
* Rename sample_bytes to more descriptive sample_spacing
Add some comments about sample functions and sample_spacing variable
|
| |
|
|
| |
This reverts commit 1efccdd38d4bac6ec44e13f0a6cdf877e3a1c7cb.
|
| | |
|
| |
|
|
|
| |
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
|
| | |
|
| | |
|
| |
|
|
| |
so no need for legacy support (nw)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
CassetteLegacyWaveFiller.chunk_sample_calc()
This is just better error checking. You can see this if you create a garbage file named 'foo.csw' and invoke the following command:
mame bbcb -cass1 foo.csw
With this change you get an invalid image error. Without it, you get this:
Caught unhandled St12length_error exception: vector::_M_default_append
|
| |
|
|
|
|
| |
cassette image formats that lacked read/write support
This entailed reintroducing device_image_interface::make_readonly(); I also reimplemented the feature in the cassette code in a less hacky way.
|
| | |
|
| |
|
|
| |
minor C++-ifications to cassette code (usage of bool and std::string, C++ comments)
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
to inline functions (nw)
|
| | |
|
| |
|
|
| |
reference http://stackoverflow.com/questions/22212737/strange-syntax-error-reported-in-a-range-based-for-loop
|
| | |
|
| | |
|
| |
|