git subrepo pull --force deps/lightrec libretro github/libretro libretro-devbuild
authorPaul Cercueil <paul@crapouillou.net>
Sat, 16 Aug 2025 15:37:09 +0000 (17:37 +0200)
committernotaz <notasas@gmail.com>
Sat, 16 Aug 2025 17:27:41 +0000 (20:27 +0300)
subrepo:
  subdir:   "deps/lightrec"
  merged:   "a173cf409e1"
upstream:
  origin:   "https://github.com/pcercuei/lightrec.git"
  branch:   "master"
  commit:   "a173cf409e1"
git-subrepo:
  version:  "0.4.6"
  origin:   "https://github.com/ingydotnet/git-subrepo.git"
  commit:   "110b9eb"

deps/lightrec/.gitrepo
deps/lightrec/emitter.c

index 654cb04..9fdfabb 100644 (file)
@@ -6,7 +6,7 @@
 [subrepo]
        remote = https://github.com/pcercuei/lightrec.git
        branch = master
-       commit = 3ebca4b2940c0f5ed73068cd690cca15e50ca73a
-       parent = 6365a756c02d25c76bf90c78e42316b46f876c49
+       commit = a173cf409e11fbbdd4801aacc683a3d7592f499c
+       parent = 8da7189ef558eacaa80a37d542ade67b6717c812
        method = merge
        cmdver = 0.4.6
index 1da3b70..4989feb 100644 (file)
@@ -1229,6 +1229,10 @@ static void rec_io(struct lightrec_cstate *state,
                lightrec_clean_reg_if_loaded(reg_cache, _jit, reg, false);
 
        if (load_delay) {
+               /* lightrec_rw() might read the actual target register (in case
+                * of LWL/LWR), so we need to keep it in sync. */
+               lightrec_clean_reg_if_loaded(reg_cache, _jit, c.i.rt, false);
+
                /* Clear state->in_delay_slot_n. This notifies the lightrec_rw
                 * wrapper that it should write the REG_TEMP register instead of
                 * the actual output register of the opcode. */