Previous 199869 Revisions Next

r192958 Friday 24th March, 2023 at 18:53:58 UTC by Vasantha Crabb
-Lua engine: run everything in coroutines. (#11019)

* This lets you use emu.wait(...) directly without mucking around creating coroutines.
* Allow emu.wait to accept an attotime argument.
* Added a couple more wait helper functions.

-emu/profiler.h: Actually use scope-based profiling helpers.
* This makes the comment at the top of emu/profile.h less dishonest, and makes it easier to write exception-safe code.
* Got rid of some do { ... } while (0) loops that only existed so break could be used like a goto.
[plugins/console]init.lua
[scripts]genie.lua
[src/devices/cpu/arm7]arm7drc.hxx
[src/devices/cpu/dspp]dsppdrc.cpp
[src/devices/cpu/e132xs]e132xsdrc.cpp
[src/devices/cpu/mips]mips3drc.cpp
[src/devices/cpu/powerpc]ppcdrc.cpp
[src/devices/cpu/sh]sh.cpp
[src/devices/cpu/unsp]unspdrc.cpp
[src/devices/video]epic12.cpp gb_lcd.cpp huc6260.cpp huc6261.cpp mc6847.cpp ppu2c0x.cpp snes_ppu.cpp voodoo.cpp
[src/emu]device.ipp drawgfxt.ipp input.cpp ioport.cpp machine.cpp machine.h profiler.cpp profiler.h recording.cpp schedule.cpp screen.cpp sound.cpp tilemap.cpp uiinput.cpp video.cpp
[src/frontend/mame]luaengine.cpp luaengine.h luaengine.ipp luaengine_debug.cpp luaengine_mem.cpp mame.cpp
[src/frontend/mame/ui]pluginopt.cpp pluginopt.h
[src/mame/atari]irobot_m.cpp jaguar_v.cpp
[src/mame/bfm]bfm_dm01.cpp bfm_sc2.cpp
[src/mame/dynax]ddenlovr.cpp
[src/mame/exidy]vertigo_v.cpp
[src/mame/itech]itech32_v.cpp
[src/mame/jaleco]ms32_sprite.cpp
[src/mame/midway]midtunit_v.cpp midyunit_v.cpp
[src/mame/misc]artmagic_v.cpp mcatadv.cpp
[src/mame/nintendo]n64_m.cpp vboy.cpp
[src/mame/promat]gstream.cpp
[src/mame/psikyo]psikyosh_v.cpp
[src/mame/sega]powervr2.cpp saturn_v.cpp segas32_v.cpp
[src/mame/snk]hng64_3d.ipp hng64_v.cpp
[src/mame/sunelectronics]shangha3_v.cpp
[src/mame/taito]buggychl.cpp tc0180vcu.cpp


Previous 199869 Revisions Next


© 1997-2024 The MAME Team