mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
KYRA: Change calling convention of opcode callbacks
Call the opcode functions with a pointer to the parameters instead of data poiner reference and first parameter. The data pointer is updated in AdLibDriver::executePrograms() before calling the opcode function; an opcode can change channel.dataptr if (and only if) it wants to jump (and is responsible not to change it inadvertently).
This commit is contained in:
parent
bfb4a6219f
commit
3fb4d67b4e