test(libSceScreenShot): cover positive IDs in sceScreenShotIsDisabled

Cover positive IDs 1 and 2 in sceScreenShotIsDisabled in GuestScreenShot.
This commit is contained in:
PrivacyOnion committed 2026-10-27 19:17:38 +01:00
1 parent 3ae8209b64
commit 04bdc8c7e7
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) {