Partial fix for #10 (#16)

* Fix stdafx include

* Fix basic handling of "Games" folder on Windows10 RS4 (#10)
This does the following:
- Sets the default state to hidden
- Skips the Games folder when searching

This does not:
- Hide the dead menu entry.

I do not currently know how to actively change the user preference setting to forcefully hide it.

* Add basic Visual Studio gitignore

* Add specific entries to gitignore

* Do not set default menu to Win7 on RS4 (#10)
This commit is contained in:
Xenhat
2018-06-20 06:52:53 -04:00
committed by GitHub
parent 27d14a8959
commit 468ee876cc
5 changed files with 393 additions and 2 deletions

View File

@@ -4941,7 +4941,7 @@ void UpdateSettings( void )
Assert(wcswcs(defaultMenu,gameSettings0));
Assert(wcswcs(defaultMenu,gameSettings1));
CAbsolutePidl pidl;
if (SUCCEEDED(SHGetKnownFolderIDList(FOLDERID_Games,0,NULL,&pidl)) && !ILIsEmpty(pidl))
if (!IsWin10RS4() && SUCCEEDED(SHGetKnownFolderIDList(FOLDERID_Games,0,NULL,&pidl)) && !ILIsEmpty(pidl))
{
std::vector<wchar_t> buf(Strlen(defaultMenu)+1);
wchar_t *str=&buf[0];