mirror of https://github.com/sm64pc/sm64pc.git
Add unused play state build option
This commit is contained in:
parent
9198ad87ae
commit
b6b2350397
8
Makefile
8
Makefile
|
@ -43,6 +43,8 @@ BETTERCAMERA ?= 0
|
|||
NODRAWINGDISTANCE ?= 0
|
||||
# Disable QoL fixes by default (helps with them purists)
|
||||
QOL_FIXES ?= 0
|
||||
# Disable unused play state tweak by default
|
||||
USE_UNUSED_PLAY_STATE ?= 0
|
||||
# Enable extended options menu by default
|
||||
EXT_OPTIONS_MENU ?= 1
|
||||
# Disable text-based save-files by default
|
||||
|
@ -575,6 +577,12 @@ ifeq ($(QOL_FIXES),1)
|
|||
CFLAGS += -DQOL_FIXES
|
||||
endif
|
||||
|
||||
# Check for unused play state option
|
||||
ifeq ($(USE_UNUSED_PLAY_STATE),1)
|
||||
CC_CHECK += DUSE_UNUSED_PLAY_STATE
|
||||
CFLAGS += DUSE_UNUSED_PLAY_STATE
|
||||
endif
|
||||
|
||||
# Check for extended options menu option
|
||||
ifeq ($(EXT_OPTIONS_MENU),1)
|
||||
CC_CHECK += -DEXT_OPTIONS_MENU
|
||||
|
|
Loading…
Reference in New Issue