http://bugs.winehq.org/show_bug.cgi?id=30705
--- Comment #4 from Lucas Fialho Zawacki lfzawacki@yahoo.com.br 2012-05-18 23:28:06 CDT --- I installed Virtua Nes from this site and can confirm it's affected by the same bug: http://www.emulator-zone.com/doc.php/nes/virtuanes.html
It happens because the application wants to read some dinput properties of the device, JOYSTICKID and VIDPID. A quick hack implementing a stub for JOYSTICKID almost makes it work, but I had trouble when assigning buttons. I'll give this a better look after I get some sleep.