Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion games/NXDoom/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#

config GAMES_NXDOOM
bool "NXDoom"
tristate "NXDoom"
default n
depends on ALLOW_GPL_COMPONENTS
depends on VIDEO_FB
Expand Down Expand Up @@ -252,6 +252,13 @@ config GAMES_NXDOOM_MAXDRAWSEGS
memory, so you may reduce the number. However, too few will cause
rendering issues (overflow is checked to avoid crashes).

config GAMES_NXDOOM_STATDUMP_MAX_CAPTURES
int "Maximum statdump capture buffer entries"
default 32
range 1 1024
---help---
Number of diagnostic playtime-statistics capture slots.

config GAMES_NXDOOM_RANGECHECK
bool "Perform range checks"
default y
Expand Down
9 changes: 8 additions & 1 deletion games/NXDoom/src/d_iwad.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,10 @@ static gamemission_t identify_iwad_by_name(const char *name, int mask)
* Only use supported missions:
*/

if (((1 << g_iwads[i].mission) & mask) == 0) continue;
if (((1 << g_iwads[i].mission) & mask) == 0)
{
continue;
}

/* Check if it ends in this IWAD name. */

Expand Down Expand Up @@ -271,6 +274,10 @@ static void buld_iwad_dir_list(void)

add_iwad_dir(m_dir_name(myargv[0]));

/* Add the configured DOOM data directory */

add_iwad_dir(CONFIG_GAMES_NXDOOM_PREFDIR);

/* Add DOOMWADDIR if it is in the environment */

env = getenv("DOOMWADDIR");
Expand Down
Loading
Loading