Update emu8080.c

added the if conditionals to the WriteMem() function.