From 787f1922f412340626e9b7644fac293d987c4618 Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Thu, 2 Sep 2021 07:13:35 +0300 Subject: Audio: fix types for IsSampleBankLoaded/IsPedCommentLoaded, reverse ProcessSpecial from PS2 --- src/audio/sampman.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/audio/sampman.h') diff --git a/src/audio/sampman.h b/src/audio/sampman.h index 667e11ff..ad14e2b2 100644 --- a/src/audio/sampman.h +++ b/src/audio/sampman.h @@ -180,9 +180,9 @@ public: bool8 LoadSampleBank (uint8 nBank); void UnloadSampleBank (uint8 nBank); - bool8 IsSampleBankLoaded(uint8 nBank); + int8 IsSampleBankLoaded(uint8 nBank); - bool8 IsPedCommentLoaded(uint32 nComment); + uint8 IsPedCommentLoaded(uint32 nComment); bool8 LoadPedComment (uint32 nComment); int32 GetBankContainingSound(uint32 offset); -- cgit v1.2.3