Prevent writing to GS register if register index is out of bounds.
Prevent writing to GS register if register index is out of bounds.

dragon788/Play-,Flav900/Play-,Flav900/Play-,LinkofHyrule89/Play-,Flav900/Play-,AbandonedCart/Play-,Flav900/Play-,Alloyed/Play-,dragon788/Play-,dragon788/Play-,LinkofHyrule89/Play-,Flav900/Play-,AbandonedCart/Play-,Alloyed/Play-,Alloyed/Play-,LinkofHyrule89/Play-,AbandonedCart/Play-,dragon788/Play-,Alloyed/Play-,AbandonedCart/Play-,LinkofHyrule89/Play-,dragon788/Play-,AbandonedCart/Play-,LinkofHyrule89/Play-,Alloyed/Play-