mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
regression fix #1
This commit is contained in:
parent
c76dd371f3
commit
c63f370d8b
1 changed files with 10 additions and 10 deletions
|
@ -3,7 +3,7 @@
|
||||||
#include "Utilities/Log.h"
|
#include "Utilities/Log.h"
|
||||||
#include "Emu/Memory/Memory.h"
|
#include "Emu/Memory/Memory.h"
|
||||||
#include "Emu/System.h"
|
#include "Emu/System.h"
|
||||||
#include "Emu/RSX/GSManager.h"
|
#include "Emu/RSX/GSManage
|
||||||
#include "RSXThread.h"
|
#include "RSXThread.h"
|
||||||
|
|
||||||
#include "Emu/SysCalls/Callback.h"
|
#include "Emu/SysCalls/Callback.h"
|
||||||
|
@ -95,11 +95,11 @@ RSXVertexData::RSXVertexData()
|
||||||
|
|
||||||
void RSXVertexData::Reset()
|
void RSXVertexData::Reset()
|
||||||
{
|
{
|
||||||
//frequency = 0;
|
frequency = 0;
|
||||||
//stride = 0;
|
stride = 0;
|
||||||
//size = 0;
|
size = 0;
|
||||||
//type = 0;
|
type = 0;
|
||||||
//addr = 0;
|
addr = 0;
|
||||||
data.clear();
|
data.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -428,7 +428,7 @@ void RSXThread::DoCmd(const u32 fcmd, const u32 cmd, const u32 args_addr, const
|
||||||
u8 v2 = a0 >> 16;
|
u8 v2 = a0 >> 16;
|
||||||
u8 v3 = a0 >> 24;
|
u8 v3 = a0 >> 24;
|
||||||
|
|
||||||
//m_vertex_data[index].Reset();
|
m_vertex_data[index].Reset();
|
||||||
m_vertex_data[index].size = 4;
|
m_vertex_data[index].size = 4;
|
||||||
m_vertex_data[index].type = CELL_GCM_VERTEX_UB;
|
m_vertex_data[index].type = CELL_GCM_VERTEX_UB;
|
||||||
m_vertex_data[index].data.push_back(v0);
|
m_vertex_data[index].data.push_back(v0);
|
||||||
|
@ -447,7 +447,7 @@ void RSXThread::DoCmd(const u32 fcmd, const u32 cmd, const u32 args_addr, const
|
||||||
float v0 = (float&)a0;
|
float v0 = (float&)a0;
|
||||||
float v1 = (float&)a1;
|
float v1 = (float&)a1;
|
||||||
|
|
||||||
//m_vertex_data[index].Reset();
|
m_vertex_data[index].Reset();
|
||||||
m_vertex_data[index].type = CELL_GCM_VERTEX_F;
|
m_vertex_data[index].type = CELL_GCM_VERTEX_F;
|
||||||
m_vertex_data[index].size = 2;
|
m_vertex_data[index].size = 2;
|
||||||
u32 pos = m_vertex_data[index].data.size();
|
u32 pos = m_vertex_data[index].data.size();
|
||||||
|
@ -471,7 +471,7 @@ void RSXThread::DoCmd(const u32 fcmd, const u32 cmd, const u32 args_addr, const
|
||||||
float v2 = (float&)a2;
|
float v2 = (float&)a2;
|
||||||
float v3 = (float&)a3;
|
float v3 = (float&)a3;
|
||||||
|
|
||||||
//m_vertex_data[index].Reset();
|
m_vertex_data[index].Reset();
|
||||||
m_vertex_data[index].type = CELL_GCM_VERTEX_F;
|
m_vertex_data[index].type = CELL_GCM_VERTEX_F;
|
||||||
m_vertex_data[index].size = 4;
|
m_vertex_data[index].size = 4;
|
||||||
u32 pos = m_vertex_data[index].data.size();
|
u32 pos = m_vertex_data[index].data.size();
|
||||||
|
@ -2418,4 +2418,4 @@ void RSXThread::WriteIO32(u32 addr, u32 value)
|
||||||
{
|
{
|
||||||
throw fmt::Format("%s(rsxio_addr=0x%x): RSXIO memory not mapped", __FUNCTION__, addr);
|
throw fmt::Format("%s(rsxio_addr=0x%x): RSXIO memory not mapped", __FUNCTION__, addr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue