DEADSOFTWARE

sound stub driver: disable error messages in log
authorDeaDDooMER <deaddoomer@deadsoftware.ru>
Sun, 6 Oct 2019 16:30:08 +0000 (19:30 +0300)
committerDeaDDooMER <deaddoomer@deadsoftware.ru>
Sun, 13 Oct 2019 14:19:20 +0000 (17:19 +0300)
src/engine/e_sound_stub.inc

index 7e3349f0d15c3b953ad95add3c542343c1c8d1d4..a44753d6b598fd9c0f9ac4c390af506ebe89cd1d 100644 (file)
@@ -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;