Skip to content

Commit 7974b51

Browse files
author
dashodanger
committed
Adjust web player defines
1 parent 05c32fe commit 7974b51

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

source_files/edge/e_main.cc

-4
Original file line numberDiff line numberDiff line change
@@ -193,11 +193,7 @@ EDGE_DEFINE_CONSOLE_VARIABLE(ddf_strict, "0", kConsoleVariableFlagArchive)
193193
EDGE_DEFINE_CONSOLE_VARIABLE(ddf_lax, "0", kConsoleVariableFlagArchive)
194194
EDGE_DEFINE_CONSOLE_VARIABLE(ddf_quiet, "0", kConsoleVariableFlagArchive)
195195

196-
#ifdef EDGE_WEB
197-
EDGE_DEFINE_CONSOLE_VARIABLE(skip_intros, "1", kConsoleVariableFlagArchive)
198-
#else
199196
EDGE_DEFINE_CONSOLE_VARIABLE(skip_intros, "0", kConsoleVariableFlagArchive)
200-
#endif
201197

202198
static const Image *loading_image = nullptr;
203199
const Image *menu_backdrop = nullptr;

source_files/edge/i_video.cc

+4
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@ EDGE_DEFINE_CONSOLE_VARIABLE(pixel_aspect_ratio, "1.0", kConsoleVariableFlagRead
5858
// including windowed mode.
5959
EDGE_DEFINE_CONSOLE_VARIABLE(forced_pixel_aspect_ratio, "0", kConsoleVariableFlagArchive)
6060

61+
#ifdef EDGE_WEB
62+
EDGE_DEFINE_CONSOLE_VARIABLE(framerate_limit, "0", kConsoleVariableFlagReadOnly)
63+
#else
6164
EDGE_DEFINE_CONSOLE_VARIABLE(framerate_limit, "500", kConsoleVariableFlagArchive)
65+
#endif
6266

6367
static bool grab_state;
6468

0 commit comments

Comments
 (0)