From 2b1dc9fa050b1abeda407ee61258abd72e3d0ff9 Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Mon, 2 Feb 2015 22:31:09 -0800 Subject: [PATCH] Ignore range check on autodraw. --- src/xenia/gpu/gl4/command_processor.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/xenia/gpu/gl4/command_processor.cc b/src/xenia/gpu/gl4/command_processor.cc index 9b62a3811..40cbf2f44 100644 --- a/src/xenia/gpu/gl4/command_processor.cc +++ b/src/xenia/gpu/gl4/command_processor.cc @@ -1185,7 +1185,6 @@ bool CommandProcessor::ExecutePacketType3_DRAW_INDX_2(RingbufferReader* reader, assert_true(src_sel == 0x2); // 'SrcSel=AutoIndex' bool index_32bit = (dword0 >> 11) & 0x1; uint32_t indices_size = index_count * (index_32bit ? 4 : 2); - reader->CheckRead(indices_size / sizeof(uint32_t)); uint32_t index_ptr = reader->ptr(); index_buffer_info_.guest_base = 0; index_buffer_info_.length = 0;