Commit Graph
13 Commits
Author SHA1 Message Date
AndywinXp 833703b0b1 JANITORIAL: SCUMM: Remove magic numbers and document VOC format blocks 2023-01-04 19:59:42 +01:00
AndywinXp 938212c6f1 SCUMM: DiMUSE: Fix endianness issues with speech lipsync 2022-10-10 21:26:26 +02:00
Andrea Boscarino 6ad5ed0b92 SCUMM: DiMUSE: Solve very rare deadlocks caused by two different mutex objects 2022-10-04 11:33:26 +02:00
Dominik Kreutzer f9f864c959 SCUMM: DiMUSE: Fix unaligned map access
The map in IMuseDigiDispatch can contain unaligned blocks if it
contains a TEXT block with a length not divisible by four. This causes
unaligned memory accesses in a few places.

This commit fixes the issue by ensuring only aligned pointers are typed
as `int32 *` while unaligned pointers are typed as `uint8 *` and are
only accessed through helper functions.
2022-08-19 16:59:23 +02:00
AndywinXp 2eb63a8931 SCUMM: DiMUSE: Fix possible heap buffer overflow when fetching sound header 2022-05-28 10:30:40 +02:00
Andrea Boscarino a083cf5abc SCUMM: DiMUSE: Create separate InternalMixer flow for FT engine 2022-03-06 11:11:11 +01:00
Andrea Boscarino 5cb8202d9b SCUMM: DiMUSE: Remove a hack in Dispatch which caused rare crashes
The code now matches the Full Throttle interpreter
2022-02-27 00:46:19 +01:00
Andrea Boscarino a112d0c9d2 SCUMM: DiMUSE: Remove leftover commented out code 2022-01-19 18:51:38 +01:00
Andrea Boscarino fffdc507ea SCUMM: DiMUSE: Remove unused variables
Also made the return code prettier
2022-01-16 22:44:16 +01:00
Andrea Boscarino b1fb0bce6d SCUMM: DiMUSE: Clean-up duplicate code in Dispatch
Also, fixed some missing nullptr values
2022-01-16 22:34:21 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Andrea Boscarino 3c10c825c9 SCUMM: DiMUSE: Correctly remove streamZones when releasing a dispatch 2021-11-22 18:08:21 +01:00
Andrea Boscarino f731cfd648 SCUMM: DiMUSE: New Digital iMUSE Engine (#3368)
SCUMM: DiMUSE: Add new implementation of the engine
2021-11-16 00:05:18 +01:00