momiji
m68k emulator infrastructure
About Source codeTable of contents
momiji::make_memory_view
Defined in header <momiji/System.h>
Creates a view of the memory of a running momiji::System
instance.
inline momiji::ExecutableMemoryView make_memory_view(momiji::System& sys) |
(1) |
inline momiji::ConstExecutableMemoryView make_memory_view(const momiji::System& sys) |
(2) |
-
Creates a span of memory from a modifiable system.
This is useful to modify memory that does not need to expand itself.
Parameters:-
momiji::System& sys
: The modifiable system instance.
-
-
Creates a view of the memory from an immutable system.
This is useful to obtain a read-only view of memory.
Parameters:-
const momiji::System& sys
: The immutable system instance.
-