- moved declaration of variable 'i' to the top of the reset() function   (multiple usage of localized variables is okay for gcc, but not for MSVC)
- moved declaration of variable 'i' to the top of the reset() function
  (multiple usage of localized variables is okay for gcc, but not for MSVC)

marmolejo/bochs-zet,marmolejo/bochs-zet,marmolejo/bochs-zet,marmolejo/bochs-zet,marmolejo/bochs-zet