Name changes based on feedback

This commit is contained in:
Alex Barney 2018-10-30 10:41:29 -05:00
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; AOpCodeBImmAl op = (AOpCodeBImmAl)context.CurrOp;
context.EmitLdc_I(op.Position + 4); context.EmitLdc_I(op.Position + 4);
context.EmitStint(AThreadState.LRIndex); context.EmitStint(AThreadState.LrIndex);
context.EmitStoreState(); context.EmitStoreState();
if (context.TryOptEmitSubroutineCall()) if (context.TryOptEmitSubroutineCall())
@ -73,7 +73,7 @@ namespace ChocolArm64.Instruction
AOpCodeBReg op = (AOpCodeBReg)context.CurrOp; AOpCodeBReg op = (AOpCodeBReg)context.CurrOp;
context.EmitLdc_I(op.Position + 4); context.EmitLdc_I(op.Position + 4);
context.EmitStint(AThreadState.LRIndex); context.EmitStint(AThreadState.LrIndex);
context.EmitStoreState(); context.EmitStoreState();
context.EmitLdintzr(op.Rn); context.EmitLdintzr(op.Rn);
@ -106,7 +106,7 @@ namespace ChocolArm64.Instruction
public static void Ret(AilEmitterCtx context) public static void Ret(AilEmitterCtx context)
{ {
context.EmitStoreState(); context.EmitStoreState();
context.EmitLdint(AThreadState.LRIndex); context.EmitLdint(AThreadState.LrIndex);
context.Emit(OpCodes.Ret); context.Emit(OpCodes.Ret);
} }

View file

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

View file

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