Audio: add separate buffer for player comments like on PS2 to fix overflow, add ped comments debug to debug menu

This commit is contained in:
Sergeanur
2021-09-01 16:36:34 +03:00
parent 4b747e567a
commit 669c8c8988
7 changed files with 197 additions and 8 deletions

View File

@@ -204,6 +204,11 @@ public:
bool8 LoadSampleBank (uint8 nBank);
void UnloadSampleBank (uint8 nBank);
bool8 IsSampleBankLoaded(uint8 nBank);
#if defined (GTA_PS2) || defined (FIX_BUGS)
bool8 IsMissionAudioLoaded(uint8 nSlot, uint32 nSample);
bool8 LoadMissionAudio (uint8 nSlot, uint32 nSample);
#endif
bool8 IsPedCommentLoaded(uint32 nComment);
bool8 LoadPedComment (uint32 nComment);