zuke: reset before tokenize, increase player thread stack

This commit is contained in:
Sigrid Solveig Haflínudóttir 2021-10-27 22:02:31 +00:00
parent c5a0909b67
commit 4b7e72689d

View file

@ -156,6 +156,7 @@ chvolume(int d)
fprint(f, "%s %d %d\n", n, l, r);
Bseek(&b, 0, 0);
for(; (s = Brdline(&b, '\n')) != nil;){
memset(a, 0, sizeof(a));
if((n = matchvname(s)) != nil && tokenize(s+strlen(n), a, 2) >= 1){
if(a[1] == nil)
a[1] = a[0];
@ -613,7 +614,7 @@ newplayer(int pcur, int loadnext)
player->ev = chancreate(sizeof(ulong), 0);
player->pcur = pcur;
threadcreate(playerthread, player, 4096);
threadcreate(playerthread, player, 32768);
if(getmeta(pcur)->filefmt[0] && playerret(player) < 0)
return nil;