d3d1x/sm4: don't reset 1st index of multi-dimensional operands to 0

This commit is contained in:
Christoph Bumiller 2011-06-02 14:04:05 +02:00
parent a531513b06
commit d1fd740bb7
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ struct sm4_parser
repr = optok.index2_repr;
else
fail("Unhandled operand index representation");
op.indices[0].disp = 0;
op.indices[i].disp = 0;
// TODO: is disp supposed to be signed here??
switch(repr)
{