summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/render.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-07-31 16:12:22 +1000
committer Vas Crabb <vas@vastheman.com>2018-07-31 16:12:22 +1000
commit8999ac2c15c808bb967871fcfeb8aba797f9b503 (patch)
tree0922276efcbc15eb6a16176db9dee62c05db3e3b /src/emu/render.cpp
parent279d066e1b68808a22c5fbc3f276a79f93a878e0 (diff)
(nw) add warning comment to dangerous API
I'm not sure this API is a great idea - see inline comment on https://github.com/mamedev/mame/commit/796abaf7f3200a96499440a4c40bec3440d55209 I realise it seems intuitive, but it breaks with a use-after-free (not even a validity error) if you replace/remove the target device. Implementing it in a way that isn't fragile and doesn't hurt the performance of -romident, -validate and -listxml seems impossible. If it causes developer confusing and things start breaking, back to literal tags we go for this case.
Diffstat (limited to 'src/emu/render.cpp')
0 files changed, 0 insertions, 0 deletions