diff options
author | 2018-07-31 16:12:22 +1000 | |
---|---|---|
committer | 2018-07-31 16:12:22 +1000 | |
commit | 8999ac2c15c808bb967871fcfeb8aba797f9b503 (patch) | |
tree | 0922276efcbc15eb6a16176db9dee62c05db3e3b /docs/source/techspecs | |
parent | 279d066e1b68808a22c5fbc3f276a79f93a878e0 (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 'docs/source/techspecs')
0 files changed, 0 insertions, 0 deletions