fixed VECTOR bug (too aggressive optimization)

This commit is contained in:
FeralChild64 committed 2019-09-24 21:47:03 +02:00
1 parent 571efdd03d
commit 49f48eb615
1 file changed
+5 -1
+5 -1
View File
@@ -27,11 +27,15 @@ vector_real:
lda CINV, y
sta (_caller_arr_ptr), y
// FALLTHROUGH
bcs vector_end_loop // branch always
vector_restore:
lda (_caller_arr_ptr), y
sta CINV, y
// FALLTROUGH
vector_end_loop:
dey
bpl vector_restore