mirror of
https://github.com/par274/sharpemu.git
synced 2026-07-25 20:28:48 +08:00
24 lines
674 B
C#
24 lines
674 B
C#
// Copyright (C) 2026 SharpEmu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
namespace SharpEmu.Core.Runtime;
|
|
|
|
using SharpEmu.Core.Cpu;
|
|
using SharpEmu.Core.Cpu.Debugging;
|
|
|
|
public readonly struct SharpEmuRuntimeOptions
|
|
{
|
|
public CpuExecutionEngine CpuEngine { get; init; }
|
|
|
|
public bool StrictDynlibResolution { get; init; }
|
|
|
|
public int ImportTraceLimit { get; init; }
|
|
|
|
/// <summary>
|
|
/// An optional debugger to attach to guest execution. Flows through to
|
|
/// <see cref="CpuExecutionOptions.DebugHook"/>. Null (the default) runs with
|
|
/// no debugger attached.
|
|
/// </summary>
|
|
public ICpuDebugHook? DebugHook { get; init; }
|
|
}
|