mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-10-12 02:09:17 +00:00
rsx/mtrsx: Fix fault range of emulated index expansion
This commit is contained in:
@@ -231,7 +231,7 @@ namespace rsx
|
||||
case index_emulate:
|
||||
ensure(writing);
|
||||
address = m_current_job->dst;
|
||||
range = get_index_count(static_cast<rsx::primitive_type>(m_current_job->aux_param0), m_current_job->length);
|
||||
range = get_index_count(static_cast<rsx::primitive_type>(m_current_job->aux_param0), m_current_job->length) * sizeof(u16);
|
||||
break;
|
||||
default:
|
||||
fmt::throw_exception("Unreachable");
|
||||
|
||||
Reference in New Issue
Block a user