ryujinx/Ryujinx.HLE/HOS
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
..
Applets ErrorApplet: Implement ApplicationErrorArg (#2123) 2021-03-19 00:04:49 +01:00
Diagnostics/Demangler
Font Update to LibHac 0.12.0 (#1485) 2020-09-01 17:08:59 -03:00
Ipc Rewrite size for fixed size buffers (#1808) 2020-12-12 14:06:20 +11:00
Kernel Fix inter-process data copy on non-contiguous physical regions (#1988) 2021-02-08 10:54:49 +11:00
Services caps: Implement SaveScreenShot calls and cleanup (#2140) 2021-03-26 01:16:08 +01:00
SystemState am/gui: Implement Wake-up message (#1750) 2020-12-15 21:41:42 -03:00
ApplicationLoader.cs Allow modding AddOnContent RomFS (#2024) 2021-02-20 01:25:01 +01:00
ArmProcessContext.cs IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
ArmProcessContextFactory.cs IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
HomebrewRomFsStream.cs
Horizon.cs caps: Implement SaveScreenShot calls and cleanup (#2140) 2021-03-26 01:16:08 +01:00
IdDictionary.cs Implement GPU syncpoints (#980) 2020-04-19 11:25:57 +10:00
ModLoader.cs Allow modding AddOnContent RomFS (#2024) 2021-02-20 01:25:01 +01:00
ProgramLoader.cs PPTC Follow-up. (#1712) 2020-12-17 20:32:09 +01:00
ResultCode.cs Refactoring result codes (#731) 2019-07-14 16:04:38 -03:00
ServiceCtx.cs IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
UserChannelPersistence.cs Fix exiting emulator with multi programs (#1590) 2020-10-10 00:52:11 +02:00