mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
d3d12: Fix build with latest master
This commit is contained in:
parent
6fcd0e0421
commit
9b10895c38
4 changed files with 14 additions and 5 deletions
|
@ -244,7 +244,7 @@ ID3D12Resource *createVertexBuffer(const VertexBufferFormat &vbf, const RSXVerte
|
||||||
{
|
{
|
||||||
const u16* c_src = (const u16*)src;
|
const u16* c_src = (const u16*)src;
|
||||||
u16* c_dst = (u16*)dst;
|
u16* c_dst = (u16*)dst;
|
||||||
for (u32 j = 0; j < size; ++j) *c_dst++ = re16(*c_src++);
|
for (u32 j = 0; j < size; ++j) *c_dst++ = _byteswap_ushort(*c_src++);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -252,7 +252,7 @@ ID3D12Resource *createVertexBuffer(const VertexBufferFormat &vbf, const RSXVerte
|
||||||
{
|
{
|
||||||
const u32* c_src = (const u32*)src;
|
const u32* c_src = (const u32*)src;
|
||||||
u32* c_dst = (u32*)dst;
|
u32* c_dst = (u32*)dst;
|
||||||
for (u32 j = 0; j < size; ++j) *c_dst++ = re32(*c_src++);
|
for (u32 j = 0; j < size; ++j) *c_dst++ = _byteswap_ulong(*c_src++);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -375,9 +375,16 @@ D3D12GSRender::~D3D12GSRender()
|
||||||
|
|
||||||
void D3D12GSRender::Close()
|
void D3D12GSRender::Close()
|
||||||
{
|
{
|
||||||
Stop();
|
if (joinable())
|
||||||
|
{
|
||||||
|
join();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (m_frame->IsShown())
|
||||||
|
{
|
||||||
m_frame->Hide();
|
m_frame->Hide();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void D3D12GSRender::OnInit()
|
void D3D12GSRender::OnInit()
|
||||||
{
|
{
|
||||||
|
|
|
@ -645,6 +645,7 @@
|
||||||
<PropertyGroup Label="Globals">
|
<PropertyGroup Label="Globals">
|
||||||
<ProjectGuid>{C4A10229-4712-4BD2-B63E-50D93C67A038}</ProjectGuid>
|
<ProjectGuid>{C4A10229-4712-4BD2-B63E-50D93C67A038}</ProjectGuid>
|
||||||
<RootNamespace>emucore</RootNamespace>
|
<RootNamespace>emucore</RootNamespace>
|
||||||
|
<WindowsTargetPlatformVersion>10.0.10240.0</WindowsTargetPlatformVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
<ProjectGuid>{70CD65B0-91D6-4FAE-9A7B-4AF55D0D1B12}</ProjectGuid>
|
<ProjectGuid>{70CD65B0-91D6-4FAE-9A7B-4AF55D0D1B12}</ProjectGuid>
|
||||||
<Keyword>Win32Proj</Keyword>
|
<Keyword>Win32Proj</Keyword>
|
||||||
<RootNamespace>rpcs3</RootNamespace>
|
<RootNamespace>rpcs3</RootNamespace>
|
||||||
|
<WindowsTargetPlatformVersion>10.0.10240.0</WindowsTargetPlatformVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue