u_lightpos is always set when lights are available.

Tiny optimization.
Properly clamp some iterative snprintf()s.
Merge pull request #7051 from unknownbrackets/minor

Minor snprintf() and perf changes
Update native (fixes #7050.)
Disable software rendering UI when Direct3D is used
Correct unload of imported vars.

From level99procrastinator, just slightly adjusted.
Don't try to read negative file sizes.
Return an error code for negative file sizes.
Fix typo.
Add Lithuanian language
Add in the main project
x86jit: Micro optimize vs2i a bit.
Merge pull request #7061 from unknownbrackets/jit-minor

x86jit: Micro optimize vs2i a bit
Merge pull request #7060 from sum2012/lang

Add Lithuanian language
Merge pull request #7055 from unknownbrackets/reloc-fix

Correct unload of imported vars
Merge pull request #7058 from unknownbrackets/io-minor

Handle negative read sizes more correctly
Merge pull request #7053 from Bigpet/fixSoftMode

Disable software rendering UI when Direct3D is used
Prevent unknown getpointer in sceKernelMemset

Fix #7064
Add some jit benchmarking code.
Cut down on test overhead a good bit.