Name changes based on feedback

This commit is contained in:
Alex Barney 2018-10-30 10:41:29 -05:00
parent af871123d7
commit ccb2fc0e56
3 changed files with 8 additions and 8 deletions

View file

@ -36,7 +36,7 @@ namespace ChocolArm64.Instruction
AOpCodeBImmAl op = (AOpCodeBImmAl)context.CurrOp;
context.EmitLdc_I(op.Position + 4);
context.EmitStint(AThreadState.LRIndex);
context.EmitStint(AThreadState.LrIndex);
context.EmitStoreState();
if (context.TryOptEmitSubroutineCall())
@ -73,7 +73,7 @@ namespace ChocolArm64.Instruction
AOpCodeBReg op = (AOpCodeBReg)context.CurrOp;
context.EmitLdc_I(op.Position + 4);
context.EmitStint(AThreadState.LRIndex);
context.EmitStint(AThreadState.LrIndex);
context.EmitStoreState();
context.EmitLdintzr(op.Rn);
@ -106,7 +106,7 @@ namespace ChocolArm64.Instruction
public static void Ret(AilEmitterCtx context)
{
context.EmitStoreState();
context.EmitLdint(AThreadState.LRIndex);
context.EmitLdint(AThreadState.LrIndex);
context.Emit(OpCodes.Ret);
}

View file

@ -8,7 +8,7 @@ namespace ChocolArm64.State
{
public class AThreadState
{
internal const int LRIndex = 30;
internal const int LrIndex = 30;
internal const int ZrIndex = 31;
internal const int ErgSizeLog2 = 4;

View file

@ -209,13 +209,13 @@ namespace Ryujinx
int scrnMouseX = mouse.X - startX;
int scrnMouseY = mouse.Y - startY;
int mx = (scrnMouseX * TouchScreenWidth) / scrnWidth;
int my = (scrnMouseY * TouchScreenHeight) / scrnHeight;
int mX = (scrnMouseX * TouchScreenWidth) / scrnWidth;
int mY = (scrnMouseY * TouchScreenHeight) / scrnHeight;
HidTouchPoint currentPoint = new HidTouchPoint
{
X = mx,
Y = my,
X = mX,
Y = mY,
//Placeholder values till more data is acquired
DiameterX = 10,