mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-12 14:00:27 +02:00
Small styling fixes.
This commit is contained in:
1 parent
5fa929bbba
commit
1caaa59adf
1 file changed
+3
-6
+3
-6
@@ -403,8 +403,7 @@ int WINAPI WinMain(HINSTANCE _hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLin
|
||||
|
||||
std::vector<std::wstring> wideArgs = GetWideCmdLine();
|
||||
|
||||
for (size_t i = 1; i < wideArgs.size(); ++i)
|
||||
{
|
||||
for (size_t i = 1; i < wideArgs.size(); ++i) {
|
||||
if (wideArgs[i][0] == L'\0')
|
||||
continue;
|
||||
if (wideArgs[i][0] == L'-') {
|
||||
@@ -438,8 +437,7 @@ int WINAPI WinMain(HINSTANCE _hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLin
|
||||
const std::wstring gpuBackend = L"--gfx=";
|
||||
|
||||
// The rest is handled in NativeInit().
|
||||
for (size_t i = 1; i < wideArgs.size(); ++i)
|
||||
{
|
||||
for (size_t i = 1; i < wideArgs.size(); ++i) {
|
||||
if (wideArgs[i][0] == L'\0')
|
||||
continue;
|
||||
|
||||
@@ -464,8 +462,7 @@ int WINAPI WinMain(HINSTANCE _hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLin
|
||||
if (wideArgs[i] == L"--windowed")
|
||||
g_Config.bFullScreen = false;
|
||||
|
||||
if (wideArgs[i].find(gpuBackend) != std::wstring::npos && wideArgs[i].size() > gpuBackend.size())
|
||||
{
|
||||
if (wideArgs[i].find(gpuBackend) != std::wstring::npos && wideArgs[i].size() > gpuBackend.size()) {
|
||||
const std::wstring restOfOption = wideArgs[i].substr(gpuBackend.size());
|
||||
|
||||
if (restOfOption == L"d3d")
|
||||
|
||||
Reference in new issue
Block a user