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,14 +1196,10 @@ 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
|
// Dump Register state
|
||||||
s = format("%05d_context.txt", s_n);
|
s = format("%05d_context.txt", s_n);
|
||||||
|
|
||||||
|
@ -1214,7 +1210,6 @@ void GSRendererHW::Draw()
|
||||||
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())
|
||||||
{
|
{
|
||||||
GL_INS("Warning skipping a draw call (%d)", s_n);
|
GL_INS("Warning skipping a draw call (%d)", s_n);
|
||||||
|
|
Loading…
Reference in New Issue