mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 09:38:23 +00:00
c89
This commit is contained in:
parent
cd6c98f5df
commit
a0aa26d6ee
1 changed files with 3 additions and 2 deletions
|
@ -26,9 +26,11 @@ void x86_release(void *ctx);
|
|||
|
||||
void x86_release(void *ctx)
|
||||
{
|
||||
release_common(ctx);
|
||||
int i;
|
||||
TCGContext *s = (TCGContext *) ctx;
|
||||
|
||||
release_common(ctx);
|
||||
|
||||
// arch specific
|
||||
g_free(s->cpu_A0);
|
||||
g_free(s->cpu_T[0]);
|
||||
|
@ -40,7 +42,6 @@ void x86_release(void *ctx)
|
|||
g_free(s->cpu_cc_src);
|
||||
g_free(s->cpu_cc_src2);
|
||||
|
||||
int i;
|
||||
for (i = 0; i < CPU_NB_REGS; ++i) {
|
||||
g_free(s->cpu_regs[i]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue