[Core/Input] cleaner fix for lightgun emulation when HVC latch is disabled
(better not make VDP core hackish)
[Core/MD] fixed regression with games using SRAM bank-switching (introduced in
r792)
[Core/VDP] minor code cleanup