Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lightning+Lightrec updates and other optimizations #862

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Commits on Nov 17, 2022

  1. git subrepo pull (merge) deps/lightning

    subrepo:
      subdir:   "deps/lightning"
      merged:   "800dc662"
    upstream:
      origin:   "https://git.savannah.gnu.org/git/lightning.git"
      branch:   "master"
      commit:   "ccb8bd77"
    git-subrepo:
      version:  "0.4.3"
      origin:   "https://github.com/ingydotnet/git-subrepo"
      commit:   "2f68596"
    ZachCook committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    2fd636e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8df60c2 View commit details
    Browse the repository at this point in the history
  3. lightrec: Adjust to lightrec API changes and HAVE_MMAP for lightning

    Fix bios freeze with lightrec, AssertIRQ must change lightrec's CAUSE too
    
    cleanup unused cop0 functions
    ZachCook committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    3bb725c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    91e458c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    82d0ae7 View commit details
    Browse the repository at this point in the history
  6. Lightrec: enable codebuffer option, fix Windows, move/cleanup headers

    Codebuffer is much faster due to lightrec's 32-bit LUT optimization
    
    Moved lightning.h to lightning-actual.h and made lightning.h include lightning-actual.h and define HAVE_MMAP for lightning, instead of defining in the Makefile which applied it to other parts of beetle, causing issues on Windows in libretro-common/vfs
    ZachCook committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    b261d6c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    70a6828 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6f5e72d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    be36b39 View commit details
    Browse the repository at this point in the history
  10. Fix eventcycles, add SPU Samples, allows much better performance

    EventCycles should work up to 2048 now, now that it is used by MDEC and Timer
    
    SPU samples option was added, audio glitches will occur in some games unless samples is 1
    ZachCook committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    8814bcb View commit details
    Browse the repository at this point in the history
  11. support MainRAM at 0x0, use INVALID_PTR instead of NULL

    This allows less code to be emitted by lightrec, but will only
    be used if root user enables it with sysctl -w vm.mmap_min_addr=0
    ZachCook committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    3ad17a1 View commit details
    Browse the repository at this point in the history
  12. Remove "Cycle Timing Check" (execute_one) dynarec option, use new lig…

    …htrec api
    
    This was only useful for debugging, users don't benefit from it, the config
    will fallback to using the beetle interpreter if it was selected
    
    The lightrec execute_one function this option called was removed, for
    equivalent debugging pass current timestamp instead of next_event_ts to
    lightrec_execute
    
    Use lightrec cop2_notify for PGXP, update interpreter to new api
    ZachCook committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    97c4d5e View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    ffa8400 View commit details
    Browse the repository at this point in the history
  14. git subrepo pull deps/lightrec

    subrepo:
      subdir:   "deps/lightrec"
      merged:   "d640c6b4"
    upstream:
      origin:   "https://github.com/pcercuei/lightrec.git"
      branch:   "master"
      commit:   "d640c6b4"
    git-subrepo:
      version:  "0.4.3"
      origin:   "https://github.com/ingydotnet/git-subrepo"
      commit:   "2f68596"
    ZachCook committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    c41b8a7 View commit details
    Browse the repository at this point in the history