aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author浅倉麗子2020-06-10 13:31:28 -0400
committer浅倉麗子2020-06-10 13:31:28 -0400
commit53b71c1bb95ae3aeee148c17fba5c7fe8eeba894 (patch)
tree344002c7cbcf12422444fd7e6092ba730dbfc618
parentAdd readme (diff)
downloadp4goldenhd-53b71c1bb95ae3aeee148c17fba5c7fe8eeba894.tar.gz
Update readme and code comments
-rw-r--r--README.md2
-rw-r--r--main.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index 5d0b9ea..dffc163 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# Persona 4 Golden HD Patch
-[Source code](https://git.shotatoshounenwachigau.moe/vita/p4goldenhd/)
+[Download binary](https://forum.devchroma.nl/index.php/topic,193.0.html) | [Report bugs](https://github.com/cuevavirus/hdpatch/issues) | [Source code](https://git.shotatoshounenwachigau.moe/vita/p4goldenhd/)
This patch changes the 3D render and framebuffer resolutions of Persona 4 Golden on the Vita and PSTV to 1920x1080 or 1280x720. 1920x1080 can be output to HDMI, 1280x720 can be output to HDMI or USB ([udcd-uvc](https://github.com/xerpi/vita-udcd-uvc)), or Vita users can enjoy a supersampled image directly on the screen.
diff --git a/main.c b/main.c
index b3e995d..960affc 100644
--- a/main.c
+++ b/main.c
@@ -184,6 +184,10 @@ static SceUID sceKernelAllocMemBlock_hook(char *name, int type, int size, void *
return TAI_NEXT(sceKernelAllocMemBlock_hook, hook_ref[2], name, type, size, opt);
}
+// When the number of backbuffers is equal to 2, the JP version has tearing
+// in the top left corner in pre-rendered videos. This problem does not
+// happen when the number of backbuffers is 1 or 3, nor in non-JP versions.
+
static int sceAvcdecCreateDecoder_hook(int type, void *ctrl, void *info) {
LOG("called sceAvcdecCreateDecoder\n");
p4g_info->n_back_buffers = 1;