#xxxxx CTexture()のファイナライズ時にDispose漏れが発覚した際、画像ファイルから生成されたテクスチャであればそのファイル名を表示するよう追加
<NoWarn>0219</NoWarn>
<UseVSHostingProcess>true</UseVSHostingProcess>
<Prefer32Bit>false</Prefer32Bit>
+ <DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<PropertyGroup>
<ApplicationManifest>DTXManiaGR.exe.x86.manifest</ApplicationManifest>
{
this.On非活性化();
CDTXMania.Instance.Songs管理 = cs;
- this.On活性化();
+ if (CDTXMania.Instance.r現在のステージ.eステージID == CStage.Eステージ.選曲) // #38233 2018.4.28 kairera0467 選曲画面以外から呼び出された時に活性化とリソース生成が行われないよう変更
+ this.On活性化();
if (this.r現在選択中の曲 != null) // r現在選択中の曲==null とは、「最初songlist.dbが無かった or 検索したが1曲もない」
{
<DefineConstants>TRACE;DEBUG;TEST_CancelEnterCodeInAltEnter2 TEST_Direct3D9Ex_ TEST_MultiThreadedMixer_</DefineConstants>
<Optimize>false</Optimize>
<Prefer32Bit>false</Prefer32Bit>
+ <DebugType>full</DebugType>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<PlatformTarget>x86</PlatformTarget>
<DefineConstants>TRACE;TEST_ENGLISH_ TEST_Direct3D9Ex_</DefineConstants>
<Optimize>true</Optimize>
<Prefer32Bit>false</Prefer32Bit>
+ <DebugType>pdbonly</DebugType>
+ <DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<ItemGroup>
<Reference Include="Bass.Net, Version=2.4.12.7, Culture=neutral, PublicKeyToken=b7566c273e6ef480, processorArchitecture=MSIL">
protected set;
}
public Vector3 vc拡大縮小倍率;
+ public string filename;
#endregion
// コンストラクタ
this.vc拡大縮小倍率 = new Vector3( 1f, 1f, 1f );
this.bFlipY = false;
// this._txData = null;
+ this.filename = "";
}
/// <summary>
throw new FileNotFoundException( string.Format( "ファイルが存在しません。\n[{0}]", strファイル名 ) );
Byte[] _txData = File.ReadAllBytes( strファイル名 );
+ this.filename = Path.GetFileName( strファイル名 );
MakeTexture( device, _txData, format, b黒を透過する, pool );
}
// CTextureのDispose漏れと見做して警告をログ出力する
if (!this.bSharpDXTextureDispose完了済み)
{
- Trace.TraceWarning("CTexture: Dispose漏れを検出しました。(Size=({0}, {1}))", sz画像サイズ.Width, sz画像サイズ.Height );
+ Trace.TraceWarning("CTexture: Dispose漏れを検出しました。(Size=({0}, {1}), filename={2})", sz画像サイズ.Width, sz画像サイズ.Height, filename );
}
this.Dispose(false);
}