mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-31 12:35:51 +00:00
merge: main into test/player-review-dialog-mode-1-and-null-result
This commit is contained in:
commit
560a9c0be6
305 files changed
+14620
-1423
No files matched your search
@@ -83,7 +83,14 @@ int main() {
|
||||
Require(scePlayerReviewDialogGetStatus() == COMMON_DIALOG_STATUS_FINISHED);
|
||||
Require(scePlayerReviewDialogUpdateStatus() == COMMON_DIALOG_STATUS_FINISHED);
|
||||
Require(scePlayerReviewDialogTerminate() == 0);
|
||||
Require(scePlayerReviewDialogTerminate() == COMMON_DIALOG_ERROR_NOT_INITIALIZED);
|
||||
Require(scePlayerReviewDialogOpen(nullptr) == static_cast<int>(0x80B8000Du));
|
||||
Require(scePlayerReviewDialogOpen(¶m) == COMMON_DIALOG_ERROR_NOT_INITIALIZED);
|
||||
Require(scePlayerReviewDialogClose() == COMMON_DIALOG_ERROR_NOT_INITIALIZED);
|
||||
Require(scePlayerReviewDialogGetResult(nullptr) == static_cast<int>(0x80B8000Du));
|
||||
Require(scePlayerReviewDialogGetResult(reinterpret_cast<CommonDialogResultPrefix*>(result)) == COMMON_DIALOG_ERROR_NOT_INITIALIZED);
|
||||
Require(scePlayerReviewDialogGetStatus() == COMMON_DIALOG_STATUS_NONE);
|
||||
Require(scePlayerReviewDialogUpdateStatus() == COMMON_DIALOG_STATUS_NONE);
|
||||
Require(scePlayerReviewDialogInitialize() == 0);
|
||||
Require(scePlayerReviewDialogGetStatus() == COMMON_DIALOG_STATUS_INITIALIZED);
|
||||
Require(scePlayerReviewDialogClose() == static_cast<int>(0x80B8000Bu));
|
||||
@@ -102,6 +109,13 @@ int main() {
|
||||
Require(scePlayerReviewDialogGetResult(reinterpret_cast<CommonDialogResultPrefix*>(result)) == COMMON_DIALOG_RESULT_USER_CANCELED);
|
||||
Require(result[2] == COMMON_DIALOG_RESULT_USER_CANCELED);
|
||||
Require(scePlayerReviewDialogTerminate() == 0);
|
||||
Require(scePlayerReviewDialogTerminate() == COMMON_DIALOG_ERROR_NOT_INITIALIZED);
|
||||
Require(scePlayerReviewDialogOpen(nullptr) == static_cast<int>(0x80B8000Du));
|
||||
Require(scePlayerReviewDialogOpen(¶m) == COMMON_DIALOG_ERROR_NOT_INITIALIZED);
|
||||
Require(scePlayerReviewDialogClose() == COMMON_DIALOG_ERROR_NOT_INITIALIZED);
|
||||
Require(scePlayerReviewDialogGetResult(nullptr) == static_cast<int>(0x80B8000Du));
|
||||
Require(scePlayerReviewDialogGetResult(reinterpret_cast<CommonDialogResultPrefix*>(result)) == COMMON_DIALOG_ERROR_NOT_INITIALIZED);
|
||||
Require(scePlayerReviewDialogGetStatus() == COMMON_DIALOG_STATUS_NONE);
|
||||
Require(scePlayerReviewDialogUpdateStatus() == COMMON_DIALOG_STATUS_NONE);
|
||||
Require(sceUserServiceTerminate() == 0);
|
||||
}
|
||||
Reference in new issue
Block a user