a2600 - add aggressive inline on ReadControls methods, that were just above the 32il threshold, a noticeable speedup
This commit is contained in:
parent
2d413fca1e
commit
948a2341a2
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue