diff options
author | 2022-02-19 00:23:37 +0000 | |
---|---|---|
committer | 2022-02-19 00:32:04 +0000 | |
commit | 64f581635f6cdbfc4aa44bfb4b971ea1ba0c1b52 (patch) | |
tree | f32b9857a2b3754dbde6e78cd972f45d8ed65127 /src | |
parent | 7209a88d4fce0cb9756a7c0162fb32c674f1d08a (diff) |
sdl: Keep -video soft as the default for Emscripten for now
Diffstat (limited to 'src')
-rw-r--r-- | src/osd/sdl/video.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/osd/sdl/video.cpp b/src/osd/sdl/video.cpp index 1c6e68f8aaa..8212e0a4586 100644 --- a/src/osd/sdl/video.cpp +++ b/src/osd/sdl/video.cpp @@ -191,7 +191,11 @@ void sdl_osd_interface::extract_video_config() stemp = options().video(); if (strcmp(stemp, "auto") == 0) { +#if (defined SDLMAME_EMSCRIPTEN) + stemp = "soft"; +#else stemp = "bgfx"; +#endif } if (strcmp(stemp, SDLOPTVAL_SOFT) == 0) video_config.mode = VIDEO_MODE_SOFT; |