probably final prettification for tracer

This commit is contained in:
feos 2016-08-21 23:52:42 +03:00
parent e7e4904c79
commit e379b0342e
2 changed files with 5 additions and 5 deletions

View File

@ -65,7 +65,7 @@ namespace BizHawk.Client.EmuHawk
Closing += (o, e) => SaveConfigSettings();
MaxLines = 10000;
FileSizeCap = 100;
FileSizeCap = 150; // make 1 frame of tracelog for n64/psx fit in
_splitFile = FileSizeCap != 0;
}

View File

@ -10,9 +10,9 @@ namespace BizHawk.Emulation.Cores.Sony.PSX
{
public partial class Octoshock
{
public TraceBuffer Tracer { get; private set; }
public static string TraceHeader = "R3000A: PC, raw bytes, mnemonic, registers (GPRs, lo, hi, sr, cause, epc)";
public TraceBuffer Tracer { get; private set; }
public static string TraceHeader = "R3000A: PC, machine code, mnemonic, operands, registers (GPRs, lo, hi, sr, cause, epc)";
OctoshockDll.ShockCallback_Trace trace_cb;
@ -32,7 +32,7 @@ namespace BizHawk.Emulation.Cores.Sony.PSX
Tracer.Put(new TraceInfo
{
Disassembly = string.Format("{0:X8}: {1:X8} {2}", PC, inst, dis.PadRight(20)),
Disassembly = string.Format("{0:X8}: {1:X8} {2}", PC, inst, dis.PadRight(30)),
RegisterInfo = sb.ToString().Trim()
});
}