mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +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: