d3d12: Honor adaptater selection + debug output layer

This commit is contained in:
vlj 2015-05-24 00:15:06 +02:00 committed by Vincent Lejeune
parent 6e8b94a7e1
commit cb14697aa0
4 changed files with 30 additions and 9 deletions

View file

@ -19,6 +19,11 @@ D3DGSFrame::~D3DGSFrame()
{
}
void D3DGSFrame::SetAdaptaterName(const wchar_t *name)
{
AdaptaterName = name;
}
void D3DGSFrame::Close()
{
GSFrame::Close();
@ -63,7 +68,7 @@ void D3DGSFrame::Flip(void* context)
// canvas->SwapBuffers();
m_frames++;
const std::string sub_title = Emu.GetTitle() + (Emu.GetTitleID().length() ? " [" + Emu.GetTitleID() + "] | " : " | ");
const std::string sub_title = Emu.GetTitle() + (Emu.GetTitleID().length() ? " [" + Emu.GetTitleID() + "] | " : " | ") + AdaptaterName.ToStdString() + " | ";
if (fps_t.GetElapsedTimeInSec() >= 0.5)
{