mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-09-09 04:20:48 +02:00
Update to v106r46 release.
byuu says: Changelog: - bsnes, higan: simplified make output; reordered rules - hiro: added Window::set(Minimum,Maximum)Size() [only implemented in GTK+ so far] - bsnes: only allow the window to be shrunk to the 1x multiplier size - bsnes: refactored Integral Scaling checkbox to {Center, Scale, Stretch} radio selection - nall: call fflush() after nall::print() to stdout or stderr [needed for msys2/bash] - bsnes, higan: program/interface.cpp renamed to program/platform.cpp - bsnes: trim ".shader/" from names in Settings→Shader menu - bsnes: Settings→Shader menu updated on video driver changes - bsnes: remove missing games from recent files list each time it is updated - bsnes: video multiplier menu generated dynamically based on largest monitor size at program startup - bsnes: added shrink window and center window function to video multiplier menu - bsnes: de-minimize presentation window when exiting fullscreen mode or changing video multiplier - bsnes: center the load game dialog against the presentation window (important for multi-monitor setups) - bsnes: screenshots are not immediate instead of delayed one frame - bsnes: added frame advance menu option and hotkey - bsnes: added enable cheats checkbox and hotkey; can be used to quickly enable/disable all active cheats Errata: - hiro/Windows: `SW_MINIMIZED`, `SW_MAXIMIZED `=> `SW_MINIMIZE`, `SW_MAXIMIZE` - hiro/Windows: add pMonitor::workspace() - hiro/Windows: add setMaximized(), setMinimized() in pWindow::construct() - bsnes: call setCentered() after setMaximized(false)
This commit is contained in:
@@ -31,11 +31,11 @@ ifeq ($(platform),)
|
||||
|
||||
# common commands
|
||||
ifeq ($(uname),)
|
||||
rm = del /q $(subst /,\,$1)
|
||||
rmdir = del /s /q $(subst /,\,$1) && if exist $(subst /,\,$1) (rmdir /s /q $(subst /,\,$1))
|
||||
rm = $(info Deleting $1 ...) @del /q $(subst /,\,$1)
|
||||
rmdir = $(info Deleting $1 ...) @del /s /q $(subst /,\,$1) && if exist $(subst /,\,$1) (rmdir /s /q $(subst /,\,$1))
|
||||
else
|
||||
rm = rm -f $1
|
||||
rmdir = rm -rf $1
|
||||
rm = $(info Deleting $1 ...) @rm -f $1
|
||||
rmdir = $(info Deleting $1 ...) @rm -rf $1
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -75,6 +75,12 @@ else ifeq ($(build),performance)
|
||||
flags += -O3 -DBUILD_PERFORMANCE
|
||||
endif
|
||||
|
||||
# link-time optimization
|
||||
ifeq ($(lto),true)
|
||||
flags += -fwhole-program -flto -fno-fat-lto-objects
|
||||
link += -fwhole-program -flto=jobserver
|
||||
endif
|
||||
|
||||
# openmp support
|
||||
ifeq ($(openmp),true)
|
||||
# macOS Xcode does not ship with OpenMP support
|
||||
@@ -129,6 +135,15 @@ endif
|
||||
# paths
|
||||
prefix := $(HOME)/.local
|
||||
|
||||
# targets
|
||||
all: default;
|
||||
|
||||
information:
|
||||
$(info Compiler Flags:)
|
||||
$(foreach n,$(sort $(call unique,$(flags))),$(if $(filter-out -I%,$n),$(info $([space]) $n)))
|
||||
$(info Linker Flags:)
|
||||
$(foreach n,$(sort $(call unique,$(link))),$(if $(filter-out -l%,$n),$(info $([space]) $n)))
|
||||
|
||||
# function rwildcard(directory, pattern)
|
||||
rwildcard = \
|
||||
$(strip \
|
||||
|
Reference in New Issue
Block a user