Previous 199869 Revisions Next

r196791 Wednesday 12th April, 2023 at 19:49:05 UTC by Vasantha Crabb
Allow loading PNG/JPEG/MS DIB bitmaps from Lua, and cleanup.

Use VirtualAlloc rather than VirtualProtect on Windows to change page
protection, as the latter can cause severe performance issues with some
antivirus software.

Added noexcept to lots of hash- and bitmap-related things, and added a
little more error checking.  Yes, I realise it will abort if an
allocation fails while printing a log message, but if you get to that
point, you're probably screwed already.
[/branches/a800_cart/docs/source/techspecs]luareference.rst
[/branches/a800_cart/hash]msx1_cart.xml
[/branches/a800_cart/src/emu]rendutil.cpp rendutil.h
[/branches/a800_cart/src/frontend/mame]luaengine_render.cpp
[/branches/a800_cart/src/lib/util]hash.cpp hash.h hashing.cpp hashing.h md5.cpp msdib.cpp msdib.h png.cpp png.h
[/branches/a800_cart/src/osd/modules/lib]osdlib_win32.cpp


Previous 199869 Revisions Next


© 1997-2024 The MAME Team