Previous 199869 Revisions Next

r197669 Tuesday 13th June, 2023 at 13:15:00 UTC by Vasantha Crabb
emu/devdelegate.h: Added resolve_safe and resolve_all_safe helpers.

Uses decay rules, so if a delegate returns a reference and you want to
supply a referene to an object you don't want copied as the default
result, remember to use std::ref.

Updated a few devices to use resolve_safe on device delegates to
streamline code.
[/branches/vga_modern-2/src/devices/bus/psx]ctlrport.cpp ctlrport.h multitap.cpp
[/branches/vga_modern-2/src/devices/bus/snes_ctrl]ctrl.cpp ctrl.h
[/branches/vga_modern-2/src/devices/cpu/ccpu]ccpu.cpp
[/branches/vga_modern-2/src/devices/cpu/diablo]diablo1300.h
[/branches/vga_modern-2/src/devices/cpu/i8085]i8085.cpp
[/branches/vga_modern-2/src/devices/cpu/i86]i186.cpp i286.cpp i286.h
[/branches/vga_modern-2/src/devices/cpu/lc8670]lc8670.cpp
[/branches/vga_modern-2/src/devices/cpu/mcs40]mcs40.cpp
[/branches/vga_modern-2/src/devices/cpu/patinhofeio]patinho_feio.cpp
[/branches/vga_modern-2/src/devices/machine]at.cpp i3001.cpp i3002.cpp keyboard.cpp mc68328.cpp microtch.cpp microtch.h myb3k_kbd.cpp tc009xlvc.cpp terminal.cpp terminal.h upd7002.cpp
[/branches/vga_modern-2/src/devices/sound]bsmt2000.cpp lynx.cpp
[/branches/vga_modern-2/src/devices/video]i8275.cpp mc6845.cpp scn2674.cpp tmap038.cpp upd7220.cpp
[/branches/vga_modern-2/src/emu]devdelegate.h
[/branches/vga_modern-2/src/mame/nec]pc9801.cpp


Previous 199869 Revisions Next


© 1997-2024 The MAME Team