• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javaandroidc++linuxc#windowsobjective-ccocoaqtpython誰得phprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

DTXManiaXG(Ver.K)4.00Series


Commit MetaInfo

修訂35114d45d4a05cee698e625831fed173c72edb09 (tree)
時間2020-10-05 10:38:38
作者FROM / Kenji Yamazaki <kumakamikoubou@gmai...>
CommiterFROM / Kenji Yamazaki

Log Message

起動時に例外が発生する不具合を修正。

起動処理の最中にウィンドウメッセージが発生し、その処理をしてしまっていたために発生。
そのため、起動処理が完了するまでは Update(), Draw() はスルーするように修正。

Change Summary

  • delete: "DTXMania\343\203\227\343\203\255\343\202\270\343\202\247\343\202\257\343\203\210/\343\202\263\343\203\274\343\203\211/\345\205\250\344\275\223/CDTXMania.cs"

差異

--- "a/DTXMania\343\203\227\343\203\255\343\202\270\343\202\247\343\202\257\343\203\210/\343\202\263\343\203\274\343\203\211/\345\205\250\344\275\223/CDTXMania.cs"
+++ "b/DTXMania\343\203\227\343\203\255\343\202\270\343\202\247\343\202\257\343\203\210/\343\202\263\343\203\274\343\203\211/\345\205\250\344\275\223/CDTXMania.cs"
@@ -541,9 +541,14 @@ namespace DTXMania
541541 }
542542 protected override void Update( GameTime gameTime )
543543 {
544+ if( !this.b起動完了済み )
545+ return;
544546 }
545547 protected override void Draw( GameTime gameTime )
546548 {
549+ if( !this.b起動完了済み )
550+ return;
551+
547552 Sound管理.t再生中の処理をする();
548553
549554 if( Timer != null )
@@ -1979,6 +1984,7 @@ for (int i = 0; i < 3; i++) {
19791984 }
19801985 }
19811986 private CSound previewSound;
1987+ private bool b起動完了済み = false;
19821988
19831989 private void t起動処理()
19841990 {
@@ -2605,6 +2611,8 @@ for (int i = 0; i < 3; i++) {
26052611 r現在のステージ.On活性化();
26062612 //---------------------
26072613 #endregion
2614+
2615+ this.b起動完了済み = true;
26082616 }
26092617
26102618 public void ShowWindowTitleWithSoundType()