From 15184bfc2ef78bd2d9a7b7166bc6b4c97f82b037 Mon Sep 17 00:00:00 2001 From: DeaDDooMER Date: Sun, 6 Oct 2019 19:30:08 +0300 Subject: [PATCH] sound stub driver: disable error messages in log --- src/engine/e_sound_stub.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/e_sound_stub.inc b/src/engine/e_sound_stub.inc index 7e3349f..a44753d 100644 --- a/src/engine/e_sound_stub.inc +++ b/src/engine/e_sound_stub.inc @@ -84,13 +84,13 @@ implementation function e_LoadSound(FileName: String; var ID: DWORD; isMusic: Boolean; ForceNoLoop: Boolean = False): Boolean; begin ID := NO_SOUND_ID; - result := false + result := true end; function e_LoadSoundMem(pData: Pointer; Length: Integer; var ID: DWORD; isMusic: Boolean; ForceNoLoop: Boolean = False): Boolean; begin ID := NO_SOUND_ID; - result := false + result := true end; function e_PlaySound (ID: DWORD): Integer; -- 2.29.2