Rename context_frame to cpu_context

This commit is contained in:
Maurice Heumann
2025-02-10 14:28:42 +01:00
parent a2af18787c
commit a5bae30e00
6 changed files with 12 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
#include "std_include.hpp"
#include "syscall_dispatcher.hpp"
#include "context_frame.hpp"
#include "cpu_context.hpp"
#include "emulator_utils.hpp"
#include "syscall_utils.hpp"
@@ -2775,7 +2775,7 @@ namespace
c.write_status = false;
const auto context = thread_context.read();
context_frame::restore(c.emu, context);
cpu_context::restore(c.emu, context);
return STATUS_SUCCESS;
}
@@ -3800,7 +3800,7 @@ namespace
c.win_emu.log.print(color::pink, "--> Reading debug registers!\n");
}
context_frame::save(c.emu, context);
cpu_context::save(c.emu, context);
});
return STATUS_SUCCESS;
@@ -3832,7 +3832,7 @@ namespace
});
const auto context = thread_context.read();
context_frame::restore(c.emu, context);
cpu_context::restore(c.emu, context);
if ((context.ContextFlags & CONTEXT_DEBUG_REGISTERS_64) == CONTEXT_DEBUG_REGISTERS_64)
{