cleanups
This commit is contained in:
parent
abf0a334ad
commit
fb52d3fc5d
|
@ -18,10 +18,7 @@ namespace BizHawk.Client.Common
|
|||
|
||||
// pass floats solely from the original source
|
||||
// this works in the code because SourceOr is the autofire controller
|
||||
public float GetFloat(string name)
|
||||
{
|
||||
return Source.GetFloat(name);
|
||||
}
|
||||
public float GetFloat(string name) => Source.GetFloat(name);
|
||||
|
||||
internal IController Source { get; set; }
|
||||
internal IController SourceAnd { get; set; }
|
||||
|
@ -43,16 +40,12 @@ namespace BizHawk.Client.Common
|
|||
|
||||
// pass floats solely from the original source
|
||||
// this works in the code because SourceOr is the autofire controller
|
||||
public float GetFloat(string name)
|
||||
{
|
||||
return Source.GetFloat(name);
|
||||
}
|
||||
public float GetFloat(string name) => Source.GetFloat(name);
|
||||
|
||||
internal IController Source { get; set; }
|
||||
internal IController SourceXor { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class ORAdapter : IController
|
||||
{
|
||||
public ControllerDefinition Definition => Source.Definition;
|
||||
|
@ -65,10 +58,7 @@ namespace BizHawk.Client.Common
|
|||
|
||||
// pass floats solely from the original source
|
||||
// this works in the code because SourceOr is the autofire controller
|
||||
public float GetFloat(string name)
|
||||
{
|
||||
return Source.GetFloat(name);
|
||||
}
|
||||
public float GetFloat(string name) => Source.GetFloat(name);
|
||||
|
||||
internal IController Source { get; set; }
|
||||
internal IController SourceOr { get; set; }
|
||||
|
|
Loading…
Reference in New Issue