another fix to dual gameboy mnemonics, the method can correctly accept an empty string, so check for it before indexing
This commit is contained in:
parent
478e80a5d3
commit
f976c2e27b
|
@ -232,6 +232,11 @@ namespace BizHawk.Client.Common
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
|
if (string.IsNullOrEmpty(_mnemonic))
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (_mnemonic[c] == '.')
|
if (_mnemonic[c] == '.')
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue