Skip to content

Commit

Permalink
2.2.12 Switch
Browse files Browse the repository at this point in the history
NDEBUG works around a PARANOIA stutter on first boss
  • Loading branch information
Craftyawesome committed Mar 17, 2024
1 parent 48da203 commit 75a34ad
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ ifeq ($(DEBUG),1)
STRIP = :
else
CFLAGS += -O3
debug_opts=-DNDEBUG
endif

ifeq ($(PROFILE),1)
Expand Down Expand Up @@ -220,8 +221,9 @@ SOURCES = \
src/i_time \
src/lua_hudlib_drawlist \
src/r_fps \
src/hardware/u_list

src/u_list \
src/blua/loslib \
src/r_bbox

PKGSUFFIX ?= $(SUFFIX)

Expand Down
2 changes: 1 addition & 1 deletion Makefile_cfgs/Platforms/Switch.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ LIBPATHS += `$(PKGCONFIG) --libs-only-L libglad egl glesv1_cm`
SUFFIX = .elf
PKGSUFFIX = .nro

SRB2VERSION = 2.2.11
SRB2VERSION = 2.2.12
APPDIR=$(OUTDIR)/switch/$(NAME)
ASSETSDIR=./assets
NROUPDATEZIPNAME=$(NAME)_$(SRB2VERSION).update.nro.zip
Expand Down
2 changes: 1 addition & 1 deletion downloadassets.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
FULLURL="https://github.com/STJr/SRB2/releases/download/SRB2_release_2.2.11/SRB2-v2211-Full.zip"
FULLURL="https://github.com/STJr/SRB2/releases/download/SRB2_release_2.2.12/SRB2-v2212-Full.zip"
PATCHURL=""
DOWNLOADCMD="curl -Lo"

Expand Down
4 changes: 2 additions & 2 deletions src/screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ consvar_t cv_scr_depth = CVAR_INIT ("scr_depth", "32 bits", CV_SAVE, scr_depth_c
#else
consvar_t cv_scr_width = CVAR_INIT ("scr_width", "1280", CV_SAVE, CV_Unsigned, NULL);
consvar_t cv_scr_height = CVAR_INIT ("scr_height", "800", CV_SAVE, CV_Unsigned, NULL);
consvar_t cv_scr_width_w = CVAR_INIT ("scr_width_w", "640", CV_SAVE, CV_Unsigned, NULL);
consvar_t cv_scr_height_w = CVAR_INIT ("scr_height_w", "400", CV_SAVE, CV_Unsigned, NULL);
consvar_t cv_scr_depth = CVAR_INIT ("scr_depth", "16 bits", CV_SAVE, scr_depth_cons_t, NULL);
#endif
consvar_t cv_scr_width_w = CVAR_INIT ("scr_width_w", "640", CV_SAVE, CV_Unsigned, NULL);
consvar_t cv_scr_height_w = CVAR_INIT ("scr_height_w", "400", CV_SAVE, CV_Unsigned, NULL);
consvar_t cv_renderview = CVAR_INIT ("renderview", "On", 0, CV_OnOff, NULL);

CV_PossibleValue_t cv_renderer_t[] = {
Expand Down

0 comments on commit 75a34ad

Please sign in to comment.