Merge remote-tracking branch 'upstream/master' into fps2
Merge pull request #1 from hrydgard/master

Merge from head
Merge pull request #2 from hrydgard/master

Sync
Add some more debug logging for alarms.
Priority-based msgpipes never woke anyone.

Really need to write tests for this and get into it, I guess...

Fixes Final Fantasy Tactics.
Don't wipe all streams in sceMpegFlushAllStreams().

Patapon and Patapon 2 didn't like it, sitll works in Crisis Core.
Support the boot message before the menu.

This makes it work if you use File -> Open right away.
Add cli support for savestates to NativeApp().
Handle args on Windows in NativeInit() too.

Now it's like everyone else, plus it works again.  Bonus.

Fixes #1134.
Raise the main window when opening the debugger.
Don't open duplicate memory/disasm windows.

It's annoying.
Correct the state of the Go button on autoload.
Windows: add support DirectInput gamepads (devices);
Make the new UI more usable at 1x zoom.

It's no longer the default, but still an option.
Not super legible is better than broken.
Switch to UISTATE_INGAME before BootDone.

Fixes game not running by default from Recent list.
Avoid a crash when the recent list contains EBOOTs.
Speed up reading multiple isos in a row.
Add a way to restrict ISO reading to a single path.

This is for GameInfoCache.
Avoid reusing uids for kernel objects.

This makes logs easier to read: a uid is an X is an X.  Usually.
Still sequential, and if it runs out, falls back.
Merge pull request #1141 from unknownbrackets/scheduling

Fix priority-based MsgPipes