1
0
Fork 0

fix bug in htif_fini, need to use vc_handle!

This commit is contained in:
Yunsup Lee 2014-03-18 01:35:08 -07:00
parent 0d124d283a
commit d2c32b048a
1 changed files with 2 additions and 2 deletions

View File

@ -17,11 +17,11 @@ static unsigned htif_bytes;
static mm_t* mm;
static const char* loadmem;
void htif_fini(int code)
void htif_fini(vc_handle failure)
{
delete htif;
htif = NULL;
exit(code);
exit(vc_getScalar(failure));
}
int main(int argc, char** argv)