A few microoptimisations noticed during code inspection, merged upstream in snes9xgit/snes9x#735 and libretro/snes9x2010#156.
I've opted to only fix the assignment of Op11Xr in patch 2 instead of wholesale replacement with {READ,WRITE}_WORD to minimise code churn.
Patch 3 benefits fewer little-endian platforms on this older fork as port.h has fewer LE platforms with a fast version of {READ,WRITE}_WORD, basically just x86 and Alpha.
A few microoptimisations noticed during code inspection, merged upstream in snes9xgit/snes9x#735 and libretro/snes9x2010#156. I've opted to only fix the assignment of Op11Xr in patch 2 instead of wholesale replacement with {READ,WRITE}_WORD to minimise code churn. Patch 3 benefits fewer little-endian platforms on this older fork as
port.h
has fewer LE platforms with a fast version of {READ,WRITE}_WORD, basically just x86 and Alpha.