Skip to content

Commit

Permalink
Adjust web player defines
Browse files Browse the repository at this point in the history
  • Loading branch information
dashodanger committed Nov 5, 2024
1 parent 05c32fe commit 7974b51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions source_files/edge/e_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,7 @@ EDGE_DEFINE_CONSOLE_VARIABLE(ddf_strict, "0", kConsoleVariableFlagArchive)
EDGE_DEFINE_CONSOLE_VARIABLE(ddf_lax, "0", kConsoleVariableFlagArchive)
EDGE_DEFINE_CONSOLE_VARIABLE(ddf_quiet, "0", kConsoleVariableFlagArchive)

#ifdef EDGE_WEB
EDGE_DEFINE_CONSOLE_VARIABLE(skip_intros, "1", kConsoleVariableFlagArchive)
#else
EDGE_DEFINE_CONSOLE_VARIABLE(skip_intros, "0", kConsoleVariableFlagArchive)
#endif

static const Image *loading_image = nullptr;
const Image *menu_backdrop = nullptr;
Expand Down
4 changes: 4 additions & 0 deletions source_files/edge/i_video.cc
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ EDGE_DEFINE_CONSOLE_VARIABLE(pixel_aspect_ratio, "1.0", kConsoleVariableFlagRead
// including windowed mode.
EDGE_DEFINE_CONSOLE_VARIABLE(forced_pixel_aspect_ratio, "0", kConsoleVariableFlagArchive)

#ifdef EDGE_WEB
EDGE_DEFINE_CONSOLE_VARIABLE(framerate_limit, "0", kConsoleVariableFlagReadOnly)
#else
EDGE_DEFINE_CONSOLE_VARIABLE(framerate_limit, "500", kConsoleVariableFlagArchive)
#endif

static bool grab_state;

Expand Down

0 comments on commit 7974b51

Please sign in to comment.