mame/src/emu
Vas Crabb f0e38cbe5b -emu/device.cpp: Allow flagging devices as not working or not supporting saved states.
* emu/device.cpp: Removed device_sound_interface from mixins that
  require device to register members for saved states.
* emu/machine.cpp: Finalise saved state registrations before loading
  configuration - network devices no longer leak timers.
* emu/validity.cpp: Added check for systems marked as supporting saved
  states that use devices lacking saved state support (besides slot
  cards).
* machine/mc6852.cpp: First device marked as not supporting saved
  states.
* osd/interface/audio.h: Avoid unnecessary float/double conversions.

-igs/igs_m027.cpp: Added I/O for ccly.
2025-05-01 08:14:54 +10:00
..
audio_effects New sound infrastructure. 2025-04-27 22:23:20 +02:00
debug debugcmd: update prev commit: change out+app to in+out+ate 2025-04-19 16:23:44 +02:00
drivers Added ATTR_COLD to common lifecycle methods for many files in src/devices. (#12822) 2024-09-27 03:07:03 +10:00
layout srcclean and cleanup 2024-12-22 05:34:00 +11:00
ui Initial touch input support: 2024-04-12 02:49:15 +10:00
video emu/rgbvmx.h: Fixed some corner cases (fixes GitHub #11051). 2023-04-01 14:30:48 +11:00
addrmap.cpp emumem: First try at wait states 2023-02-22 11:29:48 +01:00
addrmap.h addrmap: Allow ioport finders in portr/w/rw 2024-10-13 22:10:48 +02:00
attotime.cpp Clean up several sprintf() deprecation warningss in non-3rdparty code. [R. Belmont] 2023-06-03 16:52:00 -04:00
attotime.h Small batch of input refactoring: 2023-02-05 05:01:40 +11:00
bookkeeping.cpp bookkeeping: don't increment coin counter at power-on when initial counter_w input is 1, add handlers for resetting counters 2024-10-31 00:49:48 +01:00
bookkeeping.h bookkeeping: don't increment coin counter at power-on when initial counter_w input is 1, add handlers for resetting counters 2024-10-31 00:49:48 +01:00
config.cpp bgfx: Save values of most sliders per-system. 2023-01-08 05:06:50 +11:00
config.h debugger/win: Added capability to save/restore window arrangement. 2022-09-16 22:23:34 +10:00
crsshair.cpp Remove fileio.h from emu.h 2022-02-11 23:22:46 -05:00
crsshair.h API cleanups and miscellaneous fixes. 2021-07-15 13:54:40 +10:00
debugger.cpp
debugger.h
devcb.cpp -emu/devcb.h: Removed set_log and append_log. 2023-08-02 05:24:58 +10:00
devcb.h devcb: add remove function to unset a devcb 2025-04-14 15:48:53 +02:00
devcpu.cpp devcpu: add retry_access with abort_timeslice for redoing the access at the same point in time 2024-11-16 18:07:21 +01:00
devcpu.h devcpu: add retry_access and document 2024-11-16 19:41:56 +01:00
devdelegate.cpp -Switch to building MAME as C++17. 2020-11-15 03:53:47 +11:00
devdelegate.h emu/devdelegate.h: Added resolve_safe and resolve_all_safe helpers. 2023-06-13 23:15:00 +10:00
devfind.cpp emu/devcb.h: Eliminated the need to call resolve() on callbacks. (#11333) 2023-06-17 01:10:05 +10:00
devfind.h emu/devcb.h: Eliminated the need to call resolve() on callbacks. (#11333) 2023-06-17 01:10:05 +10:00
device.cpp -emu/device.cpp: Allow flagging devices as not working or not supporting saved states. 2025-05-01 08:14:54 +10:00
device.h -emu/device.cpp: Allow flagging devices as not working or not supporting saved states. 2025-05-01 08:14:54 +10:00
device.ipp -Lua engine: run everything in coroutines. (#11019) 2023-03-25 05:53:58 +11:00
didisasm.cpp
didisasm.h Fairly significant overhaul of Lua engine and some cleanup. 2020-11-25 19:18:26 +11:00
diexec.cpp Clones promoted to working 2025-04-11 20:25:10 +02:00
diexec.h diexec: change input_line_state getter back to int 2025-04-08 17:50:22 +02:00
digfx.cpp digfx: mark gfx ram dirty after load state 2025-01-03 15:58:08 +01:00
digfx.h digfx: mark gfx ram dirty after load state 2025-01-03 15:58:08 +01:00
diimage.cpp sega/sega_beena.cpp: Hooked up barcode cards. 2023-12-14 13:14:26 +11:00
diimage.h util/ioprocs.cpp: Added wrappers for common patterns. (#11608) 2024-02-25 02:27:26 +11:00
dimemory.cpp dimemory: Add the target address space to translate, wrap the constants 2023-03-18 21:27:43 +01:00
dimemory.h dimemory: Add the target address space to translate, wrap the constants 2023-03-18 21:27:43 +01:00
dinetwork.cpp osd: Got rid of the gross globals and functions for manipulating them in the network modules. 2025-04-23 04:25:39 +10:00
dinetwork.h osd: Got rid of the gross globals and functions for manipulating them in the network modules. 2025-04-23 04:25:39 +10:00
dinvram.cpp dinvram: Separate backup-enable parameter (which prevents both loading and saving) from nvram_can_save 2022-08-09 10:40:12 -04:00
dinvram.h dinvram: Separate backup-enable parameter (which prevents both loading and saving) from nvram_can_save 2022-08-09 10:40:12 -04:00
dipalette.cpp Eliminate ARRAY_LENGTH template in favor of C++17's std::size 2021-02-14 11:05:57 -05:00
dipalette.h device_palette_interface: Make information overrides noexcept 2022-09-25 22:14:24 -04:00
dipty.cpp formats, osd, util: Started refactoring file I/O stuff. (#8456) 2021-08-22 09:06:15 +10:00
dipty.h rs232/pty: remove unused constexpr 2023-12-19 20:04:58 +01:00
dirom.h swx00: Advance 2024-03-18 22:46:54 +01:00
dirom.ipp dirom fix 2024-03-18 22:46:54 +01:00
dirtc.cpp RTC interface updates 2023-02-03 22:10:35 -05:00
dirtc.h dirtc: Devirtualize set_current_time, cleaning up misuse 2024-10-25 17:54:41 -04:00
diserial.cpp -homebrew/linux4004.cpp: Emulated Linux/4004 board. 2024-10-04 20:58:33 +10:00
diserial.h -homebrew/linux4004.cpp: Emulated Linux/4004 board. 2024-10-04 20:58:33 +10:00
dislot.cpp Various cleanups: 2023-02-27 06:11:37 +11:00
dislot.h newpci: Create a first stab at slottable cards. Embrace the future insanity 2024-01-13 23:34:05 +01:00
disound.cpp Revert "device_mixer_interface: set samplerate to osd rate, like how it was before sound rewrite" 2025-04-30 16:04:10 +02:00
disound.h New sound infrastructure. 2025-04-27 22:23:20 +02:00
distate.cpp distate.cpp: Use count_leading_zeros_64 to calculate format width 2023-09-21 18:52:05 -04:00
distate.h Lua engine: Better bindings for device_state_interface. 2023-03-12 04:37:30 +11:00
divideo.cpp Fairly significant overhaul of Lua engine and some cleanup. 2020-11-25 19:18:26 +11:00
divideo.h Fairly significant overhaul of Lua engine and some cleanup. 2020-11-25 19:18:26 +11:00
divtlb.cpp dimemory: Add the target address space to translate, wrap the constants 2023-03-18 21:27:43 +01:00
divtlb.h dimemory: Add the target address space to translate, wrap the constants 2023-03-18 21:27:43 +01:00
drawgfx.cpp digfx: mark gfx ram dirty after load state 2025-01-03 15:58:08 +01:00
drawgfx.h digfx: mark gfx ram dirty after load state 2025-01-03 15:58:08 +01:00
drawgfxt.ipp -Lua engine: run everything in coroutines. (#11019) 2023-03-25 05:53:58 +11:00
drivenum.cpp drivenum.cpp: fix undefined behavior in find_approximate_matches (#12441) 2024-06-05 21:27:58 -04:00
drivenum.h coretmpl.h: Move lru_cache_map to separate header 2021-02-03 17:42:14 -05:00
driver.cpp driver: make flipscreen setters compatible with writeline 2022-09-02 19:17:35 +02:00
driver.h Added ATTR_COLD to common lifecycle methods for many files in src/devices. (#12822) 2024-09-27 03:07:03 +10:00
emu.h Small batch of input refactoring: 2023-02-05 05:01:40 +11:00
emucore.cpp Various optimisations to code generaton. 2023-03-26 01:32:50 +11:00
emucore.h Cleaned up various stuff. 2024-06-30 17:43:02 +10:00
emufwd.h New sound infrastructure. 2025-04-27 22:23:20 +02:00
emumem_aspace.cpp -cpu/drcbex64.cpp: Fixed handling of address map global mask. 2025-02-06 02:42:26 +11:00
emumem_hea.h Encourage use of read/write delegate creator helpers (demo on Game Boy cartridges). (#11091) 2023-04-11 22:53:35 +10:00
emumem_hedp.cpp Encourage use of read/write delegate creator helpers (demo on Game Boy cartridges). (#11091) 2023-04-11 22:53:35 +10:00
emumem_hedp.h Encourage use of read/write delegate creator helpers (demo on Game Boy cartridges). (#11091) 2023-04-11 22:53:35 +10:00
emumem_hedr0.cpp emu/emumem*: Removed endianness template parameter from handler_entry_read, handler_entry_write and closely related classes. (#8255) 2021-07-09 11:40:35 +10:00
emumem_hedr1.cpp emu/emumem*: Removed endianness template parameter from handler_entry_read, handler_entry_write and closely related classes. (#8255) 2021-07-09 11:40:35 +10:00
emumem_hedr2.cpp emu/emumem*: Removed endianness template parameter from handler_entry_read, handler_entry_write and closely related classes. (#8255) 2021-07-09 11:40:35 +10:00
emumem_hedr3.cpp emu/emumem*: Removed endianness template parameter from handler_entry_read, handler_entry_write and closely related classes. (#8255) 2021-07-09 11:40:35 +10:00
emumem_hedr.h Fix some range computation issues with some weird views. 2025-04-21 00:36:20 +02:00
emumem_hedr.ipp Fix some range computation issues with some weird views. 2025-04-21 00:36:20 +02:00
emumem_hedw0.cpp emu/emumem*: Removed endianness template parameter from handler_entry_read, handler_entry_write and closely related classes. (#8255) 2021-07-09 11:40:35 +10:00
emumem_hedw1.cpp emu/emumem*: Removed endianness template parameter from handler_entry_read, handler_entry_write and closely related classes. (#8255) 2021-07-09 11:40:35 +10:00
emumem_hedw2.cpp emu/emumem*: Removed endianness template parameter from handler_entry_read, handler_entry_write and closely related classes. (#8255) 2021-07-09 11:40:35 +10:00
emumem_hedw3.cpp emu/emumem*: Removed endianness template parameter from handler_entry_read, handler_entry_write and closely related classes. (#8255) 2021-07-09 11:40:35 +10:00
emumem_hedw.h Fix some range computation issues with some weird views. 2025-04-21 00:36:20 +02:00
emumem_hedw.ipp Fix some range computation issues with some weird views. 2025-04-21 00:36:20 +02:00
emumem_hem.cpp Encourage use of read/write delegate creator helpers (demo on Game Boy cartridges). (#11091) 2023-04-11 22:53:35 +10:00
emumem_hem.h Encourage use of read/write delegate creator helpers (demo on Game Boy cartridges). (#11091) 2023-04-11 22:53:35 +10:00
emumem_hep.cpp emu/emumem*: Removed endianness template parameter from handler_entry_read, handler_entry_write and closely related classes. (#8255) 2021-07-09 11:40:35 +10:00
emumem_hep.h Encourage use of read/write delegate creator helpers (demo on Game Boy cartridges). (#11091) 2023-04-11 22:53:35 +10:00
emumem_het.cpp Encourage use of read/write delegate creator helpers (demo on Game Boy cartridges). (#11091) 2023-04-11 22:53:35 +10:00
emumem_het.h Encourage use of read/write delegate creator helpers (demo on Game Boy cartridges). (#11091) 2023-04-11 22:53:35 +10:00
emumem_heu.cpp Encourage use of read/write delegate creator helpers (demo on Game Boy cartridges). (#11091) 2023-04-11 22:53:35 +10:00
emumem_heu.h Encourage use of read/write delegate creator helpers (demo on Game Boy cartridges). (#11091) 2023-04-11 22:53:35 +10:00
emumem_heun.cpp Encourage use of read/write delegate creator helpers (demo on Game Boy cartridges). (#11091) 2023-04-11 22:53:35 +10:00
emumem_heun.h Encourage use of read/write delegate creator helpers (demo on Game Boy cartridges). (#11091) 2023-04-11 22:53:35 +10:00
emumem_hws.cpp Encourage use of read/write delegate creator helpers (demo on Game Boy cartridges). (#11091) 2023-04-11 22:53:35 +10:00
emumem_hws.h Encourage use of read/write delegate creator helpers (demo on Game Boy cartridges). (#11091) 2023-04-11 22:53:35 +10:00
emumem_mud.cpp Encourage use of read/write delegate creator helpers (demo on Game Boy cartridges). (#11091) 2023-04-11 22:53:35 +10:00
emumem_mud.h Encourage use of read/write delegate creator helpers (demo on Game Boy cartridges). (#11091) 2023-04-11 22:53:35 +10:00
emumem_mview.cpp Fix some range computation issues with some weird views. 2025-04-21 00:36:20 +02:00
emumem.cpp emu/romload.cpp: Resolve tags for ROM_COPY relative to current device properly. 2024-11-23 11:41:56 +11:00
emumem.h emu/emumem.h: Optimized cache line detection (#13584) 2025-04-12 15:58:51 +02:00
emuopts.cpp clifront.cpp: Changed -listbios to work more like -listslots, showing all BIOS options in a system. 2023-04-10 06:34:35 +10:00
emuopts.h Miscellaneous fixes and refactoring: 2023-01-28 08:16:53 +11:00
emupal.cpp make flowerw3 (igs_m027_033vid.cpp) show the attract demo (#13474) 2025-03-14 08:38:22 +01:00
emupal.h make flowerw3 (igs_m027_033vid.cpp) show the attract demo (#13474) 2025-03-14 08:38:22 +01:00
fileio.cpp util/ioprocs.cpp: Added wrappers for common patterns. (#11608) 2024-02-25 02:27:26 +11:00
fileio.h Various optimisations to code generaton. 2023-03-26 01:32:50 +11:00
gamedrv.h -emu/device.cpp: Allow flagging devices as not working or not supporting saved states. 2025-05-01 08:14:54 +10:00
hashfile.cpp Remove fileio.h from emu.h 2022-02-11 23:22:46 -05:00
hashfile.h
http.cpp emu/http.cpp, util/server_http_impl.hpp: Added override qualifiers for overridden virtual member functions. 2024-04-23 00:20:03 +10:00
http.h Remove http related header pollution (#9201) 2022-01-26 13:21:02 +01:00
image.cpp Various cleanups: 2024-05-31 13:36:38 +10:00
image.h Removed superfluous semicolons from various source files. (#9796) 2022-05-22 06:54:10 +10:00
inpttype.h New sound infrastructure. 2025-04-27 22:23:20 +02:00
inpttype.ipp New sound infrastructure. 2025-04-27 22:23:20 +02:00
input.cpp emu/input.cpp: Guard against automatic integer promotion on arithmetic. 2024-10-28 03:48:15 +11:00
input.h Small batch of input refactoring: 2023-02-05 05:01:40 +11:00
inputdev.cpp New systems marked not working 2024-01-04 22:31:28 +01:00
inputdev.h Small batch of input refactoring: 2023-02-05 05:01:40 +11:00
ioport.cpp ioport: fix possible issue where 4way joystick value could be invalid 2025-03-30 12:36:21 +02:00
ioport.h Natural keyboard improvements 2024-12-04 09:23:44 -05:00
logmacro.h
machine.cpp -emu/device.cpp: Allow flagging devices as not working or not supporting saved states. 2025-05-01 08:14:54 +10:00
machine.h Various optimisations to code generaton. 2023-03-26 01:32:50 +11:00
main.cpp Various input and OSD refactoring: 2023-01-29 03:16:14 +11:00
main.h New sound infrastructure. 2025-04-27 22:23:20 +02:00
mconfig.cpp mconfig: allow sub-mcfg to unset perfect quantum 2024-12-16 13:46:00 +01:00
mconfig.h Removed extra semicolons after function bodies in remaining headers. (#9277) 2022-02-07 11:44:49 +01:00
memarray.cpp emu/memarray.cpp: Fix little Endian byte read/write to 64-bit areas. (#11985) 2024-01-30 05:33:21 +11:00
memarray.h memarray.cpp: Remove unused initialization method taking address_space parameter 2022-01-26 09:13:03 -05:00
natkeyboard.cpp natkeyboard: fix regression from prev commit 2025-04-22 13:11:45 +02:00
natkeyboard.h natkeyboard: fix issue with dynamic buffer resizing 2025-04-22 03:00:14 +02:00
network.cpp Various cleanups: 2024-05-31 13:36:38 +10:00
network.h API cleanups and miscellaneous fixes. 2021-07-15 13:54:40 +10:00
output.cpp Miscellaneous #include cleanup 2021-11-20 18:10:46 -05:00
output.h -emu/ioport.cpp: Fixed some default setting handling issues. 2021-11-04 03:11:29 +11:00
parameters.cpp
parameters.h
profiler.cpp emu/profiler.cpp: Disable assertion that profiler isn't enabled/disabled with profile scope active. 2023-03-27 16:39:37 +11:00
profiler.h Various optimisations to code generaton. 2023-03-26 01:32:50 +11:00
recording.cpp Fix for dkong and avi recording 2025-04-28 09:32:38 +02:00
recording.h New sound infrastructure. 2025-04-27 22:23:20 +02:00
render.cpp -emu/render.cpp: Always translate coordinates if container is found (fixes GitHub #12817). 2024-09-27 02:57:52 +10:00
render.h Initial touch input support: 2024-04-12 02:49:15 +10:00
rendersw.hxx rendlay: fix crash with rect element alpha of 0 < n < 1.0/255, 2024-12-06 06:08:26 +01:00
rendertypes.h Render-related cleanup 2021-12-30 15:47:16 -05:00
rendfont.cpp rendfont: set minimum width of scaled bitmap for font chars used in .lay files to 1 if it's larger than 0.5, this prevents lowercase l and i not showing while the text label is still readable (I also tried rounding up everything but that's uglier overall), 2024-03-11 22:16:25 +01:00
rendfont.h emufwd.h: Add forward declaration for render_bounds 2023-12-11 09:34:23 -05:00
rendlay.cpp rendlay: fix crash with rect element alpha of 0 < n < 1.0/255, 2024-12-06 06:08:26 +01:00
rendlay.h emu/rendlay.cpp, ui/ui.cpp: Allow layout views to control pointer display. 2024-04-14 07:36:45 +10:00
rendutil.cpp util/ioprocs.cpp: Added wrappers for common patterns. (#11608) 2024-02-25 02:27:26 +11:00
rendutil.h Allow loading PNG/JPEG/MS DIB bitmaps from Lua, and cleanup. 2023-04-13 05:49:05 +10:00
resampler.cpp New sound infrastructure. 2025-04-27 22:23:20 +02:00
resampler.h New sound infrastructure. 2025-04-27 22:23:20 +02:00
romentry.cpp
romentry.h emu/romentry.h: Got rid of long-obsolete ROMENTRYTYPE_CARTRIDGE, and improved comments on ROM entry type constants. 2023-01-02 17:56:50 +11:00
romload.cpp emu/romload.cpp: Resolve tags for ROM_COPY relative to current device properly. 2024-11-23 11:41:56 +11:00
romload.h emu/romload.cpp: Resolve tags for ROM_COPY relative to current device properly. 2024-11-23 11:41:56 +11:00
save.cpp -emu/device.cpp: Allow flagging devices as not working or not supporting saved states. 2025-05-01 08:14:54 +10:00
save.h -emu/device.cpp: Allow flagging devices as not working or not supporting saved states. 2025-05-01 08:14:54 +10:00
schedule.cpp -emu/schedule.cpp: Restore timers expiring at the same time in the order they were scheduled when loading a saved state. 2025-04-09 04:22:53 +10:00
schedule.h -emu/schedule.cpp: Restore timers expiring at the same time in the order they were scheduled when loading a saved state. 2025-04-09 04:22:53 +10:00
screen.cpp screen: remove obsolete loadstate workaround 2025-04-08 23:54:48 +02:00
screen.h screen: remember last partial updates reset time because of scheduler time travel issue 2025-02-24 18:37:27 +01:00
softlist_dev.cpp Disallow zero-length regions in ROM definitions and software lists 2023-10-22 10:38:48 -04:00
softlist_dev.h Added ATTR_COLD to common lifecycle methods for many files in src/devices. (#12822) 2024-09-27 03:07:03 +10:00
softlist.cpp util/ioprocs.cpp: Added wrappers for common patterns. (#11608) 2024-02-25 02:27:26 +11:00
softlist.h srcclean in preparation for branching 0.237 release 2021-10-24 09:58:53 +11:00
sound.cpp sound: add sync time to savestates 2025-04-30 19:12:16 +02:00
sound.h sound: suppress some warnings 2025-04-30 10:03:29 +07:00
speaker.cpp New sound infrastructure. 2025-04-27 22:23:20 +02:00
speaker.h New sound infrastructure. 2025-04-27 22:23:20 +02:00
tilemap.cpp tilemap: account for flipped tilemap in get_info_debug, 2025-01-06 15:26:45 +01:00
tilemap.h Added ATTR_COLD to common lifecycle methods for many files in src/devices. (#12822) 2024-09-27 03:07:03 +10:00
uiinput.cpp Initial touch input support: 2024-04-12 02:49:15 +10:00
uiinput.h Initial touch input support: 2024-04-12 02:49:15 +10:00
validity.cpp -emu/device.cpp: Allow flagging devices as not working or not supporting saved states. 2025-05-01 08:14:54 +10:00
validity.h Various optimisations to code generaton. 2023-03-26 01:32:50 +11:00
video.cpp schedule/timer: be more consistent with s32 param 2023-12-11 12:15:21 +01:00
video.h schedule/timer: be more consistent with s32 param 2023-12-11 12:15:21 +01:00
xtal.cpp casio/cps200.cpp: Added a skeleton Casio CPS-2000 driver; also improved µPD934 and MSM6200 emulation. (#13591) 2025-04-17 04:08:49 +10:00
xtal.h