From: DeaDDooMER Date: Sun, 6 Oct 2019 16:30:08 +0000 (+0300) Subject: sound stub driver: disable error messages in log X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=15184bfc2ef78bd2d9a7b7166bc6b4c97f82b037;p=d2df-sdl.git sound stub driver: disable error messages in log --- 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;