Skip to content

Commit

Permalink
force_1080p_display: reduce log spam
Browse files Browse the repository at this point in the history
  • Loading branch information
illusion0001 committed Feb 20, 2023
1 parent 572cbd2 commit 521a87e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugin_src/force_1080p_display/source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,18 @@ s32 sceVideoOutGetResolutionStatus_hook(int handle, OrbisVideoOutResolutionStatu
s32 ret = HOOK_CONTINUE(sceVideoOutGetResolutionStatus,
s32 (*)(s32, OrbisVideoOutResolutionStatus*),
handle, status);
#if (__FINAL__) == 0
final_printf("old OrbisVideoOutResolutionStatus *status\n");
print_resStat(status);
#endif
status->width = 1920;
status->height = 1080;
status->paneWidth = 1920;
status->paneHeight = 1080;
#if (__FINAL__) == 0
final_printf("new OrbisVideoOutResolutionStatus *status\n");
print_resStat(status);
#endif
return ret;
}

Expand Down

0 comments on commit 521a87e

Please sign in to comment.