New feature: registers can be bulk saved/restored in an opaque blob

This commit is contained in:
Andrew Dutcher
2016-08-20 04:14:07 -07:00
parent 236b6e9085
commit 0ef2b5fd71
14 changed files with 94 additions and 0 deletions

View File

@ -10,6 +10,8 @@
#include "uc_priv.h"
const int M68K_REGS_STORAGE_SIZE = offsetof(CPUM68KState, tlb_table);
static void m68k_set_pc(struct uc_struct *uc, uint64_t address)
{
((CPUM68KState *)uc->current_cpu->env_ptr)->pc = address;