Win32: Fix a minor fullscreen bug.
If the window is maximized before going fullscreen, the taskbar appears on top, which is not desirable.
Also, apply the maximized state properly again after exiting, if the user had the window maximized.
Use checked pointers in all function replacements.

Some games are still hitting bugs and there's no way to disable this "fast
memory" without losing graphical effects.  Better to do it evenly than
weird hacks and extra logging/checks.
Disable a bunch of function replacements.

These are just for speed, let's turn them off.  Using a flag because:
 * I think there's still some issue with savestates, not sure.
 * We might swap this flag to a separate option.
Use a lookup for function replacements.

Ought to be a tiny bit quicker.
Don't zero out downcount in replacements.

It doesn't write out js.downcountAmount in any of these cases, so zeroing
it is wrong.
Use glStencilMask() to partially simulate amask.

Alpha won't be correct, though.
Update native
Merge branch 'stencil-mask' of github.com:unknownbrackets/ppsspp into unknownbrackets-stencil-mask
Merge branch 'unknownbrackets-stencil-mask'
Merge pull request #6680 from unknownbrackets/replace-funcs

Disable most replacements and use checked mem access in them
Use correct stencil values with non-add blending.

Otherwise, we get the min/max/etc. value instead.
Also do it here, although may be removed soon.
Buildfix.
One last buildfix (please correct if GL_FUNC_ADD is wrong, I just wanted buildbot to work again). https://github.com/hrydgard/ppsspp/pull/6679 should replace this soon.
Qt: Allow building with system ffmpeg. Also update b.sh to set cmake and qmake flags in case --qt is at the end of the arguments.
Merge pull request #6651 from thedax/win32-fullscreen

Win32: Fix a minor fullscreen bug.
Qt: Change target name to ppsspp by default.Install icons and desktop file on Linux. Use a different builddir than SDL by default.
Should help distros packaging ppsspp. Note: if you currently use PPSSPPQt, you will need to move the config dir from PPSSPPQt to ppsspp.
For distro packagers, you can now use PREFIX and DESTDIR for installs.
Linux: Look for assets directory in /usr/share/ppsspp/.
Merge pull request #6692 from Barthalion/systemwide-assets

Linux: Look for assets directory in /usr/share/ppsspp/.
Correctly break when disabled and temp bps overlap.

Only affects debugging, not usual gameplay.  Fixes #6700.