static int usb_device_post_load(void *opaque, int version_id)

{

    USBDevice *dev = opaque;



    if (dev->state == USB_STATE_NOTATTACHED) {

        dev->attached = 0;

    } else {

        dev->attached = 1;






    return 0;

static int usb_device_post_load(void *opaque, int version_id)

{

    USBDevice *dev = opaque;



    if (dev->state == USB_STATE_NOTATTACHED) {

        dev->attached = 0;

    } else {

        dev->attached = 1;






    return 0;

static int FUNC_0(void *VAR_0, int VAR_1)

{

    USBDevice *dev = VAR_0;



    if (dev->state == USB_STATE_NOTATTACHED) {

        dev->attached = 0;

    } else {

        dev->attached = 1;






    return 0;

static int FUNC_0(void *VAR_0, int VAR_1)
{ USBDevice *dev = VAR_0; if (dev->state == USB_STATE_NOTATTACHED) { dev->attached = 0; } else { dev->attached = 1; return 0;