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

Pull requests

#42 Merged
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. ecsv
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.

  • Learn about pull requests

Comments (0)