mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-05-04 17:32:12 +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)
|
void x86_release(void *ctx)
|
||||||
{
|
{
|
||||||
release_common(ctx);
|
int i;
|
||||||
TCGContext *s = (TCGContext *) ctx;
|
TCGContext *s = (TCGContext *) ctx;
|
||||||
|
|
||||||
|
release_common(ctx);
|
||||||
|
|
||||||
// arch specific
|
// arch specific
|
||||||
g_free(s->cpu_A0);
|
g_free(s->cpu_A0);
|
||||||
g_free(s->cpu_T[0]);
|
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_src);
|
||||||
g_free(s->cpu_cc_src2);
|
g_free(s->cpu_cc_src2);
|
||||||
|
|
||||||
int i;
|
|
||||||
for (i = 0; i < CPU_NB_REGS; ++i) {
|
for (i = 0; i < CPU_NB_REGS; ++i) {
|
||||||
g_free(s->cpu_regs[i]);
|
g_free(s->cpu_regs[i]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue