"Misc crash fixes"
https://github.com/mupen64plus/mupen64plus-core/pull/1080

Index: src/device/r4300/new_dynarec/arm64/assem_arm64.c
--- src/device/r4300/new_dynarec/arm64/assem_arm64.c.orig
+++ src/device/r4300/new_dynarec/arm64/assem_arm64.c
@@ -2393,6 +2393,7 @@ static void emit_writebyte_indexed_tlb(int rt, int add
 
 static void emit_writeword(int rt, intptr_t addr)
 {
+  if(rt<0) return;
   intptr_t offset = addr-(intptr_t)&g_dev.r4300.new_dynarec_hot_state;
   assert(offset<16380LL);
   assert(offset%4 == 0); /* 4 bytes aligned */
