SNES - only register the trace logger on compatibility profile

This commit is contained in:
adelikat 2017-05-27 09:54:53 -05:00
parent 8de4e7bff9
commit 12a4ec1ac7
1 changed files with 5 additions and 1 deletions

View File

@ -38,7 +38,6 @@ namespace BizHawk.Emulation.Cores.Nintendo.SNES
Header = "65816: PC, mnemonic, operands, registers (A, X, Y, S, D, DB, flags (NVMXDIZC), V, H)"
};
ser.Register<ITraceable>(_tracer);
ser.Register<IDisassemblable>(new W65816_DisassemblerService());
_game = game;
@ -180,6 +179,11 @@ namespace BizHawk.Emulation.Cores.Nintendo.SNES
bw.Close();
_savestatebuff = ms.ToArray();
}
if (CurrentProfile == "Compatibility")
{
ser.Register<ITraceable>(_tracer);
}
}
private readonly GameInfo _game;