mirror of https://github.com/PCSX2/pcsx2.git
GS: Fix Wunused-variable warnings.
This commit is contained in:
parent
9a1a399bac
commit
c9a3420f85
|
@ -321,7 +321,6 @@ size_t GSDumpLzma::Read(void* ptr, size_t size)
|
||||||
{
|
{
|
||||||
size_t off = 0;
|
size_t off = 0;
|
||||||
uint8_t* dst = (uint8_t*)ptr;
|
uint8_t* dst = (uint8_t*)ptr;
|
||||||
size_t full_size = size;
|
|
||||||
while (size && !IsEof())
|
while (size && !IsEof())
|
||||||
{
|
{
|
||||||
if (m_avail == 0)
|
if (m_avail == 0)
|
||||||
|
|
|
@ -1196,24 +1196,19 @@ void GSRendererHW::RoundSpriteOffset()
|
||||||
|
|
||||||
void GSRendererHW::Draw()
|
void GSRendererHW::Draw()
|
||||||
{
|
{
|
||||||
if (s_dump)
|
if (s_dump && (s_n >= s_saven))
|
||||||
{
|
{
|
||||||
const u64 frame = g_perfmon.GetFrame();
|
|
||||||
|
|
||||||
std::string s;
|
std::string s;
|
||||||
|
|
||||||
if (s_n >= s_saven)
|
// Dump Register state
|
||||||
{
|
s = format("%05d_context.txt", s_n);
|
||||||
// Dump Register state
|
|
||||||
s = format("%05d_context.txt", s_n);
|
|
||||||
|
|
||||||
m_env.Dump(m_dump_root + s);
|
m_env.Dump(m_dump_root + s);
|
||||||
m_context->Dump(m_dump_root + s);
|
m_context->Dump(m_dump_root + s);
|
||||||
|
|
||||||
// Dump vertices
|
// Dump vertices
|
||||||
s = format("%05d_vertex.txt", s_n);
|
s = format("%05d_vertex.txt", s_n);
|
||||||
DumpVertices(m_dump_root + s);
|
DumpVertices(m_dump_root + s);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (IsBadFrame())
|
if (IsBadFrame())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue