Include the two files added in r5741 in the VC project file as well.

Improve the way we're saving screenshots, thanks to Billiard for spotting that ;)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5742 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
NeoBrainX 2010-06-18 23:55:28 +00:00
parent 7b58e0b4e7
commit 08d7861578
2 changed files with 9 additions and 4 deletions

View File

@ -807,6 +807,14 @@
RelativePath=".\Src\D3DUtil.h"
>
</File>
<File
RelativePath=".\Src\GfxState.cpp"
>
</File>
<File
RelativePath=".\Src\GfxState.h"
>
</File>
</Filter>
<Filter
Name="Decoder"

View File

@ -908,10 +908,7 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight)
{
u32* ptr = (u32*)((u8*)map.pData + y * map.RowPitch);
for (unsigned int x = 0; x < D3D::GetBackBufferWidth(); ++x)
{
*ptr = 0xFF000000 | (*ptr & 0xFFFFFF);
ptr++;
}
*ptr++ |= 0xFF000000;
}
D3D::context->Unmap(buftex, 0);