Add scalar variants of FCVTZS/FCVTZU, fix a issue on Ryushader

This commit is contained in:
gdkchan 2018-05-18 14:44:49 -03:00
parent b19c474082
commit 7ac5f40532
3 changed files with 57 additions and 1 deletions

View file

@ -28,7 +28,7 @@ namespace Ryushader
int[] Code = new int[Data.Length / 4];
for (int Offset = 0; Offset < Data.Length; Offset += 4)
for (int Offset = 0; Offset + 4 <= Data.Length; Offset += 4)
{
int Value = BitConverter.ToInt32(Data, Offset);