mirror of
https://github.com/par274/sharpemu.git
synced 2026-07-16 07:56:12 +08:00
22 lines
842 B
C#
22 lines
842 B
C#
// Copyright (C) 2026 SharpEmu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
using SharpEmu.Core;
|
|
using SharpEmu.Core.Memory;
|
|
using SharpEmu.HLE;
|
|
|
|
namespace SharpEmu.Core.Loader;
|
|
|
|
public interface ISelfLoader
|
|
{
|
|
SelfImage Load(ReadOnlySpan<byte> imageData, IVirtualMemory virtualMemory);
|
|
|
|
SelfImage Load(ReadOnlySpan<byte> imageData, IVirtualMemory virtualMemory, IFileSystem? fs, string? mountRoot);
|
|
|
|
SelfImage Load(ReadOnlySpan<byte> imageData, IVirtualMemory virtualMemory, IModuleManager moduleManager);
|
|
|
|
SelfImage Load(ReadOnlySpan<byte> imageData, IVirtualMemory virtualMemory, IModuleManager moduleManager, IFileSystem? fs, string? mountRoot);
|
|
|
|
SelfImage LoadAdditional(ReadOnlySpan<byte> imageData, IVirtualMemory virtualMemory, IModuleManager moduleManager, IFileSystem? fs, string? mountRoot);
|
|
}
|