mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 14:15:39 +00:00
c89
This commit is contained in:
parent
cd6c98f5df
commit
a0aa26d6ee
|
@ -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