Fix for syscall_cdaudio (unable to compile kernel)

git-svn-id: svn://kolibrios.org@591 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Mihail Semenyako (mike.dld) 2007-07-26 20:21:13 +00:00
parent 3e7d2e5267
commit e954751c46

View File

@ -4986,10 +4986,10 @@ syscall_cdaudio: ; CD
shr eax, 1 shr eax, 1
and eax, 1 and eax, 1
inc eax inc eax
mov [ChannelNumber], eax mov [ChannelNumber], ax
mov eax, ebx mov eax, ebx
and eax, 1 and eax, 1
mov [DiskNumber], eax mov [DiskNumber], al
call reserve_cd_channel call reserve_cd_channel
and ebx, 3 and ebx, 3
inc ebx inc ebx