1. Richard Goedeken
  2. mupen64plus-core
  3. Pull requests

Pull requests

#42 Merged at 5fafce6
Repository
Deleted repository
Branch
default (886e81847104)
Repository
mupen64plus-core
Branch
default

Don't allow MSVC optimizer to make too many wrong assumptions about function pointer

Author
  1. Sven Eckelmann
Reviewers
Description

The MSVC compiler is slightly confused about the jmp-call inside the __asm block of the dynarec prologue. It will try to optimize the surrounding code and ends up in overwritting the code function poiner with a sign extended version of the lower 16 bit of code.

MSVC seems to be slightly more careful with void pointers.

Comments (0)