a2600 - add aggressive inline on ReadControls methods, that were just above the 32il threshold, a noticeable speedup

This commit is contained in:
adelikat 2020-04-29 16:34:19 -05:00
parent 2d413fca1e
commit 948a2341a2
1 changed files with 2 additions and 0 deletions

View File

@ -329,6 +329,7 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
}
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal byte ReadControls1(bool peek)
{
InputCallbacks.Call();
@ -343,6 +344,7 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
return value;
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal byte ReadControls2(bool peek)
{
InputCallbacks.Call();