Project

General

Profile

Actions

Emulator Issues #8952

closed

Certain strings for the --video_backend CLI switch are not working as expected

Added by karasuhebi over 8 years ago. Updated over 8 years ago.

Status:
Won't fix
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name? N/A

Game ID? N/A

What's the problem? Describe what went wrong in few words.

If you use the string Direct3D with the -v (or its long variant, --video_backend), it won't work. If you use the string OpenGL, the change won't take place upon launching Dolphin, rather the next time you launch Dolphin. The strings D3D and OGL work as expected: They switch the video backend on launch.

Which versions of Dolphin did you test on? Does using an older version of Dolphin solve your issue? If yes, which versions of Dolphin used to work?

Latest development build as of time of writing (-7727) does this, haven't tested any old versions.

What are your PC specifications?

OS: Windows 8.1 Pro
CPU: Intel Core i5-4670K @ 4.1 GHz
GPU: HD 7950 w/Boost, Core @ 1000 MHz, memory @ 1250 MHz
RAM: 8GB

Is there any other relevant information?

I also tested the -a (--audio_emulation) switch and this one works as expected: The HLE and LLE strings cause the change to happen upon launch. Don't know if that's relevant but I included just in case.

Actions #1

Updated by Helios over 8 years ago

  • Status changed from New to Won't fix

This happens because the CLI switch gets passed off to the config system, which sets the option, then ActivateBackend() attempts to load it. It looks like the config system knows both spellings so the next time Dolphin loads, the config system just feeds it the correct value. ActivateBackend() only knows one spelling.

I don't think this should be fixed because adding in manual corrections to a CLI switch in code is meh, and honestly people shouldn't be using our broken switches in the first place (hint: They overwrite your settings on close). Adding spelling corrections to ActivateBackend() is a meh idea as well.

D3D and OGL already work as acceptable spellings. Use those.

Actions

Also available in: Atom PDF