mirror of
https://github.com/par274/sharpemu.git
synced 2026-07-30 14:39:42 +08:00
21 lines
433 B
C#
21 lines
433 B
C#
// Copyright (C) 2026 SharpEmu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
namespace SharpEmu.Core.Cpu;
|
|
|
|
public readonly struct CpuMemoryAccessFailure
|
|
{
|
|
public CpuMemoryAccessFailure(ulong address, int size, bool isWrite)
|
|
{
|
|
Address = address;
|
|
Size = size;
|
|
IsWrite = isWrite;
|
|
}
|
|
|
|
public ulong Address { get; }
|
|
|
|
public int Size { get; }
|
|
|
|
public bool IsWrite { get; }
|
|
}
|