Handle zero-length vectors when normalizing
Correct ambient light
Fix vertex shader compilation
Expand japanese translation
Merge pull request #1332 from daniel-dressler/master

Expand japanese translation
PT-BR update translation
Merge pull request #1333 from Whitexp/master

update pt br translation
Simplified Chinese language ini document update
Added Russian localization
Merge pull request #1334 from MrYadro/master

Added Russian localization
Windows: revert some part from old controls dialog;
Merge pull request #1336 from CrazyMax/master

Windows: revert some part from old controls dialog
Fix wrong sign if vf2i/vi2f with max imm arg.
Merge pull request #1337 from unknownbrackets/vfpu-minor

Fix wrong sign in vf2i/vi2f with max imm arg
Fix button spacing , control options overlay issue , add "Developer Tools" to ini
Add "Large Controls", "Show Analog Stick", "Developer Tools" to ini
Merge pull request #1339 from raven02/patch-1

Fix button spacing , control options overlay issue
Use native code instead of ATL::CImage
Fix capping in vf2i

A quick and rough skim lead me to this quick and lazy fix. In short , IEEE 754 single-precision float is not precise enough for storing every int32 value, and you need double for that ;)

BTW, should there be a default case for the switch ((op >> 21) & 0x1f) right following below or dsv could be uninitialized?
Added Traditional Chinese translation