From 0995b73603a0df639106d06f07c8e5f9dfa92436 Mon Sep 17 00:00:00 2001 From: kumatan Date: Sat, 2 May 2020 13:18:14 +0900 Subject: [PATCH] =?UTF-8?q?TAG003=202020/05/02=202nd=20=20=20Compiler=20?= =?UTF-8?q?=20=20=20=20=E3=83=BBFF=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB?= =?UTF-8?q?=E3=81=8C=E8=AA=AD=E3=81=BF=E8=BE=BC=E3=82=81=E3=81=AA=E3=81=8F?= =?UTF-8?q?=E3=81=A6=E3=82=82=E3=82=B3=E3=83=B3=E3=83=91=E3=82=A4=E3=83=AB?= =?UTF-8?q?=E3=81=8C=E9=80=B2=E3=82=80=E3=82=88=E3=81=86=E3=81=AB=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGE.txt | 4 ++++ PMDDotNETCompiler/mc.cs | 2 ++ PMDDotNETDriver/PW.cs | 12 +++++++++++- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/CHANGE.txt b/CHANGE.txt index c82dc43..ec6c60a 100644 --- a/CHANGE.txt +++ b/CHANGE.txt @@ -1,5 +1,9 @@ 更新履歴 +TAG003 2020/05/02 2nd + Compiler + ・FFファイルが読み込めなくてもコンパイルが進むように修正 + TAG002 2020/05/02 Compiler ・リズム音源系コマンド処理のバグを修正 diff --git a/PMDDotNETCompiler/mc.cs b/PMDDotNETCompiler/mc.cs index 53289b5..2bdec42 100644 --- a/PMDDotNETCompiler/mc.cs +++ b/PMDDotNETCompiler/mc.cs @@ -1821,6 +1821,7 @@ private void read_fffile() } catch { + if (voice_seg.voice_buf == null) voice_seg.voice_buf = new byte[8192]; print_mes(mml_seg.warning_mes); print_mes(mml_seg.ff_readerr_mes); return; @@ -1829,6 +1830,7 @@ private void read_fffile() #if !hyouka mml_seg.prg_flg |= 1; #endif + if (voice_seg.voice_buf == null) voice_seg.voice_buf = new byte[8192]; } diff --git a/PMDDotNETDriver/PW.cs b/PMDDotNETDriver/PW.cs index 13eb7a3..0f89282 100644 --- a/PMDDotNETDriver/PW.cs +++ b/PMDDotNETDriver/PW.cs @@ -6,7 +6,7 @@ namespace PMDDotNET.Driver { public class PW { - public string ver = "4.8q"; + public const string ver = "4.8q"; public int vers = 0x48; public string verc = "q"; public string date = "Aug.5th 1998"; @@ -18,5 +18,15 @@ public class PW public string _myname = "PMD COM"; + public int va = 0;//シ代ョ譎ゑシカシ。MSDOS逕ィ + public int board2 = 0;//シ代ョ譎ゅ懊シ繝会シ/髻ウ鄒弱■繧繧捺怏繧 + public int adpcm = 0;//シ代ョ譎ADPCM菴ソ逕ィ + public int ademu = 0;//シ代ョ譎ADPCM Emulate + public int pcm = 0;//シ代ョ譎1CM菴ソ逕ィ + public int ppz = 0;//シ代ョ譎1PZ8菴ソ逕ィ + public int sync = 0;//シ代ョ譎MIDISYNC菴ソ逕ィ + public int vsync = 0;//シ代ョ譎7Sync繧呈ュ「繧√k + public string resmes = "PMD ver." + ver; + } }