Update to v106r33 release.

byuu says:

Changelog:

  - nall/GNUmakefile: added `openmp=(true,false)` option; can be toggled
    when building higan/bsnes
      - defaults to disabled on macOS, because Xcode doesn't stupidly
        doesn't ship with support for it
  - higan/GNUmakefile: forgot to switch target,profile back from
    bsnes,fast to higan,accurate
      - this is just gonna happen from time to time, sorry
  - sfc/dsp: when using the fast profile, the DSP syncs per sample
    instead of per clock
      - should only negatively impact Koushien 2, but is a fairly
        significant speedup otherwise
  - sfc/ppc,ppu-fast: optimized the code a bit (ppu 130fps to 133fps)
  - sfc/ppu-fast: basic vertical mosaic support (not accurate, but
    should look okay hopefully)
  - sfc/ppu-fast: added missing mode7 hflip support
  - sfc/ppu-fast: added support to render at 256-width and/or 240-height
      - gives a decent speed boost, and also allows all of the older
        quark shaders to work nicely again
      - it does violate the contract of Emulator::Interface, but oh
        well, it works fine in the bsnes GUI
  - sfc/ppu-fast: use cached CGRAM values for mode7 and sprites
  - sfc/ppu-fast: use global range/time over flags in object rendering
      - may not actually work as we intended since it's a race condition
        even if it's only ORing the flags
      - really don't want to have to make those variables atomic if I
        don't have to
  - sfc/ppu-fast: should fully support interlace and overscan modes now
  - hiro/cocoa: updated macOS Gatekeeper disable support to work on
    10.13+
  - ruby: forgot to fix macOS input driver, sorry
  - nall/GNUmakefile: if uname is present, then just default to rm
    instead of del (fixes Msys)

Note: blur emulation option will break pretty badly in 256x240 output
mode. I'll fix it later.
This commit is contained in:
Tim Allen
2018-05-31 17:06:55 +10:00
parent 5e7fdbe2c0
commit 5d29700fa1
16 changed files with 181 additions and 148 deletions

View File

@@ -12,34 +12,31 @@ MAKEFLAGS := Rr
# platform detection
ifeq ($(platform),)
uname := $(shell uname -s)
uname := $(shell uname)
ifeq ($(uname),)
platform := windows
rm = del /q $(subst /,\,$1)
rmdir = del /s /q $(subst /,\,$1) && if exist $(subst /,\,$1) (rmdir /s /q $(subst /,\,$1))
else ifneq ($(findstring Windows,$(uname)),)
platform := windows
rm = del /q $(subst /,\,$1)
rmdir = del /s /q $(subst /,\,$1) && if exist $(subst /,\,$1) (rmdir /s /q $(subst /,\,$1))
else ifneq ($(findstring _NT,$(uname)),)
else ifneq ($(findstring NT,$(uname)),)
platform := windows
rm = del /q $(subst /,\,$1)
rmdir = del /s /q $(subst /,\,$1) && if exist $(subst /,\,$1) (rmdir /s /q $(subst /,\,$1))
else ifneq ($(findstring Darwin,$(uname)),)
platform := macos
rm = rm -f $1
rmdir = rm -rf $1
else ifneq ($(findstring Linux,$(uname)),)
platform := linux
rm = rm -f $1
rmdir = rm -rf $1
else ifneq ($(findstring BSD,$(uname)),)
platform := bsd
rm = rm -f $1
rmdir = rm -rf $1
else
$(error unknown platform, please specify manually.)
endif
# common commands
ifeq ($(uname),)
rm = del /q $(subst /,\,$1)
rmdir = del /s /q $(subst /,\,$1) && if exist $(subst /,\,$1) (rmdir /s /q $(subst /,\,$1))
else
rm = rm -f $1
rmdir = rm -rf $1
endif
endif
cflags := -x c -std=c11
@@ -78,6 +75,15 @@ else ifeq ($(build),performance)
flags += -O3 -DBUILD_PERFORMANCE
endif
# openmp support
ifeq ($(openmp),true)
# macOS Xcode does not ship with OpenMP support
ifneq ($(platform),macos)
flags += -fopenmp
link += -fopenmp
endif
endif
# clang settings
ifeq ($(findstring clang++,$(compiler)),clang++)
flags += -fno-strict-aliasing -fwrapv