From 87f04de6587d3b545ff1e3b38ff37d96d2c1dc1a Mon Sep 17 00:00:00 2001 From: CleverMouse Date: Tue, 16 Dec 2014 15:05:19 +0000 Subject: [PATCH] sound loader: fix crash if the target driver has refused to load git-svn-id: svn://kolibrios.org@5234 a494cfbc-eb01-0410-851d-a64ba20cac60 --- drivers/audio/sound.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/audio/sound.asm b/drivers/audio/sound.asm index 8c8edfd99e..c83f1d6ca1 100644 --- a/drivers/audio/sound.asm +++ b/drivers/audio/sound.asm @@ -251,7 +251,7 @@ proc detect_controller invoke GetService, dword[edi+4] test eax, eax - jz .next + jz .fail mov edx, [eax+SRV.entry] mov [srv_entry], edx