--- qemu/linux-user/arm/nwfpe/fpa11.c 2018/04/24 17:23:06 1.1.1.2 +++ qemu/linux-user/arm/nwfpe/fpa11.c 2018/04/24 17:36:30 1.1.1.3 @@ -30,7 +30,7 @@ #include -FPA11* qemufpa=0; +FPA11* qemufpa = NULL; CPUARMState* user_registers; /* Reset the FPA11 chip. Called to initialize and reset the emulator. */ @@ -191,7 +191,7 @@ unsigned int EmulateAll(unsigned int opc if(nRc == 1 && get_float_exception_flags(&fpa11->fp_status)) { //printf("fef 0x%x\n",float_exception_flags); - nRc=-get_float_exception_flags(&fpa11->fp_status); + nRc = -get_float_exception_flags(&fpa11->fp_status); } //printf("returning %d\n",nRc);