Check that silent mode and an unset variable show nothing, that show mode
shows the PSN notice once for Open and once for OpenA, that a refused null
parameter and an Open that throws show nothing, and that no notice is
shown when no presenter is registered. The guest test links libSceIme.
Initialize, Terminate, UpdateStatus, GetStatus, Open, OpenA, Close and
GetResult run the common-dialog state machine. There is no PSN profile
UI, so Open and OpenA finish at once and GetResult reports result 0,
userAction USER_CANCELED and the caller's userData, as shadPS4 does when
its window is dismissed.
Paths where shadPS4 and the other common dialogs here return different
errors throw, and so does a param whose size or mode does not match the
shadPS4 layout. The common-dialog codes the library uses are added to
libSceCommonDialog/CommonDialog.hpp.