diff -ur xlvns.orig/LvnsCoreSound.c xlvns/LvnsCoreSound.c --- xlvns.orig/LvnsCoreSound.c Sat Mar 4 18:18:04 2000 +++ xlvns/LvnsCoreSound.c Sat Mar 4 20:58:58 2000 @@ -107,14 +107,15 @@ { XtAppContext app = XtWidgetToApplicationContext((Widget)lcw); - if (LCW.sound_ctl_fd >= 0) { - if (sound_count == 0) { - LCW.sound_loop = True; - } else { - LCW.sound_count = sound_count; - } - write(LCW.sound_ctl_fd, "S\n", 2); + if (LCW.sound_ctl_fd < 0) return; + + if (sound_count == 0) { + LCW.sound_loop = True; + } else { + LCW.sound_count = sound_count; } + write(LCW.sound_ctl_fd, "S\n", 2); + LCW.sound_ctl_id = XtAppAddInput(app, LCW.sound_ctl_fd, (XtPointer)XtInputReadMask, diff -ur xlvns.orig/XLvns.ad xlvns/XLvns.ad --- xlvns.orig/XLvns.ad Tue Dec 21 08:02:42 1999 +++ xlvns/XLvns.ad Sat Mar 4 21:15:11 2000 @@ -20,7 +20,7 @@ lvns3*scenarioType: 2 lvns3.LvnsCore.width: 640 lvns3.LvnsCore.height: 480 -lvns3*Title: Leaf Visual Novel Series 3 "To Heart +lvns3*Title: Leaf Visual Novel Series 3 "To Heart" presen*packName: PRESEN.PAK presen*scenarioName: scenario.txt diff -ur xlvns.orig/audioinfo.c xlvns/audioinfo.c --- xlvns.orig/audioinfo.c Sat Mar 4 18:18:04 2000 +++ xlvns/audioinfo.c Sat Mar 4 20:50:40 2000 @@ -137,7 +137,7 @@ return; } size -= ret; - } while (size > 0); + } while (size > 3); /* ±éÁÕ´°Î»ÂÔ¤Á */ ioctl(ainfo->fd, SNDCTL_DSP_SYNC, NULL); }