[Patch] GPU Configuration Registers

Star Wars Trilogy Arcade seems to be the only game that sets fixed shading as unsigned. Definitely can't depend on the specular attribute state 'cause the floor (grass+dirt) in Endor Forest level is not specular but is still unsigned fixed shaded.
So I started dumping to console the internal render config JTAG values and looked for something suspicious. However SWT is patched at load time to ignore JTAG so I looked at SWT Alternate (swtrilgya)... and it worked!
Maybe it's a coincidence but it's the only game that sets internalRenderConfig[0]'s LSB, all other games have that bit unset (= 0). So I just added the appropriate checks and a fall-back logic to set the correct values in those games that don't expose JTAG (currently only srally2 and swtrilgy, if I'm not mistaken).
So I started dumping to console the internal render config JTAG values and looked for something suspicious. However SWT is patched at load time to ignore JTAG so I looked at SWT Alternate (swtrilgya)... and it worked!
Maybe it's a coincidence but it's the only game that sets internalRenderConfig[0]'s LSB, all other games have that bit unset (= 0). So I just added the appropriate checks and a fall-back logic to set the correct values in those games that don't expose JTAG (currently only srally2 and swtrilgy, if I'm not mistaken).