Merge pull request #12028 from PrivacyOnion/test/screenshot-disabled-state-and-stubs

test(libSceScreenShot): cover positive IDs in sceScreenShotIsDisabled
This commit is contained in:
Dean authored and GitHub committed 2026-10-29 00:27:30 +13:00
commit 20b68964c7
1 file changed
+2
+2
View File
@@ -67,6 +67,8 @@ void TestDisableState() {
Require(sceScreenShotIsDisabled(-1, &value) == ErrorArgument && value == 7, "id -1 is rejected");
Require(sceScreenShotIsDisabled(0, nullptr) == ErrorArgument, "null result is rejected");
Require(sceScreenShotDisableNotification() == 0 && sceScreenShotEnableNotification() == 0, "notification toggles");
Require(sceScreenShotIsDisabled(1, &value) == 0 && value == 0, "positive id 1 is accepted");
Require(sceScreenShotIsDisabled(2, &value) == 0 && value == 0, "positive id 2 is accepted");
}
void TestOverlay(bool large) {