1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-12 07:42:02 +00:00
Ryujinx/Ryujinx.HLE/HOS/Services/Caps
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
..
Types caps: Implement SaveScreenShot calls and cleanup (#2140) 2021-03-26 01:16:08 +01:00
CaptureManager.cs caps: Implement SaveScreenShot calls and cleanup (#2140) 2021-03-26 01:16:08 +01:00
IAlbumAccessorService.cs Refactoring commands handling (#728) 2019-07-11 22:13:43 -03:00
IAlbumApplicationService.cs caps: Implement SaveScreenShot calls and cleanup (#2140) 2021-03-26 01:16:08 +01:00
IAlbumControlService.cs caps: Implement SaveScreenShot calls and cleanup (#2140) 2021-03-26 01:16:08 +01:00
IScreenShotApplicationService.cs caps: Implement SaveScreenShot calls and cleanup (#2140) 2021-03-26 01:16:08 +01:00
IScreenShotControlService.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
IScreenshotService.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
ResultCode.cs caps: Implement SaveScreenShot calls and cleanup (#2140) 2021-03-26 01:16:08 +01:00