forked from KolibriOS/kolibrios
fixed crash while trying to work with an empty playlist.
git-svn-id: svn://kolibrios.org@4620 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
43101a8623
commit
fd5287e58e
@ -7,6 +7,8 @@
|
||||
;
|
||||
; COMPILE WITH FASM
|
||||
|
||||
format binary as ""
|
||||
|
||||
PLAYLIST_PATH equ '/HD0/1/PLAYLIST.TXT'
|
||||
;APP_MEM equ 150*1024
|
||||
|
||||
|
@ -173,6 +173,8 @@ PL_get1stsel:
|
||||
PL_getnextsel:
|
||||
push eax ecx
|
||||
movzx ecx,[list_count]
|
||||
test ecx, ecx
|
||||
jz .ex2
|
||||
.lp:
|
||||
movzx eax,word[esi]
|
||||
btr eax,15
|
||||
|
Loading…
Reference in New Issue
Block a user