rjx-mirror/Ryujinx.HLE
Ac_K 32be8caa9d
caps: Implement SaveScreenShot calls and cleanup (#2140)
* caps: Implement SaveScreenShot calls and cleanup

This PR implement:
- caps:u IAlbumApplicationService (32) SetShimLibraryVersion
- caps:c IAlbumControlService (33) SetShimLibraryVersion
- caps:su IScreenShotApplicationService (32) SetShimLibraryVersion
- caps:su IScreenShotApplicationService (203/205/210) SaveScreenShotEx0/SaveScreenShotEx1/SaveScreenShotEx2

ImageSharp is used to save the raw screenshot data as a JPG file following what the service does.
All screenshots are save in: `%AppData%\Ryujinx\sdcard\Nintendo\Album` folder. (as example a screenshot file path will be `%AppData%\Ryujinx\sdcard\Nintendo\Album\2021\03\26\2021032601020300-0123456789ABCDEF0123456789ABCDEF.jpg`

This is needed by Animal Crossing: New Horizon where screenshots looks like this:

And this is needed in Monster Hunter Rise but screenshots are currently empty due to another issue.

* remove useless comment

* Addresses gdkchan feedback

* Addresses gdkchan feedback 2

* remove useless comment 2

* Fix nits
2021-03-26 01:16:08 +01:00
..
Exceptions IPC: Remove IIpcService interface (#2121) 2021-03-19 00:31:08 +01:00
FileSystem Implement friendlier portable mode (#1885) 2021-03-15 22:10:36 +01:00
HOS caps: Implement SaveScreenShot calls and cleanup (#2140) 2021-03-26 01:16:08 +01:00
Loaders Correct type of executable sizes (#1802) 2020-12-13 08:30:27 +01:00
Utilities IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
Homebrew.npdm Better process implementation (#491) 2018-11-28 20:18:09 -02:00
IHostUiHandler.cs Basic impl of Error Applet (#1551) 2020-09-28 00:00:38 +02:00
PerformanceStatistics.cs Interrupt GPU command processing when a frame's fence is reached. (#1741) 2020-12-17 19:39:52 +01:00
Ryujinx.HLE.csproj caps: Implement SaveScreenShot calls and cleanup (#2140) 2021-03-26 01:16:08 +01:00
RyujinxProfileImage.jpg Implement friend:a IFriendService: 10101 (#429) 2018-09-25 19:59:29 -03:00
Switch.cs Add items to standard logs (#1942) 2021-03-19 00:09:33 +01:00