summaryrefslogtreecommitdiff
path: root/games-emulation/pcsx2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-01 03:14:33 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-01 03:14:33 +0100
commit0c764edfecb7e9e124d4669acd98bed09e23b6c0 (patch)
tree2862ab17d2f88cb7c9614b7fbe579f25ae604b8d /games-emulation/pcsx2
parentae1bf373db295b495e1f685d116e3411bf10df0b (diff)
gentoo auto-resync : 01:08:2022 - 03:14:32
Diffstat (limited to 'games-emulation/pcsx2')
-rw-r--r--games-emulation/pcsx2/Manifest3
-rw-r--r--games-emulation/pcsx2/files/pcsx2-1.7.0-crcs.patch43
-rw-r--r--games-emulation/pcsx2/pcsx2-9999.ebuild6
3 files changed, 50 insertions, 2 deletions
diff --git a/games-emulation/pcsx2/Manifest b/games-emulation/pcsx2/Manifest
index 819b2d41f9e5..620c6729da4c 100644
--- a/games-emulation/pcsx2/Manifest
+++ b/games-emulation/pcsx2/Manifest
@@ -1,6 +1,7 @@
AUX pcsx2-1.6.0-disable-setcap.patch 2783 BLAKE2B 8840d64feeb042c8442fae30c40fa05e5de19f0b5da9f383bb097e8f092bbabcaf529424e11eb99bb3af81ac8407cd207f846683cd359ac9ea11f8d40a4a72dd SHA512 463ef253a192d3531b1733c4006bd5870aaa31ae58e54d188edd889bb0c3e3eb7d2e76442461c68105ff51753b29add02a673aad4eb5ed27a0b9a66345fea08d
AUX pcsx2-1.6.0-wx-config.patch 613 BLAKE2B e5ff17ae5bddde776990cace4735883e8869f6c125dcdf171bb67b9392921d7a006f4b96075086b3927ecede027ff0b2efa40982b10e121c2e1096e36fcbe8bc SHA512 14f0eddbd9c72600f47733a5137c171abf05723b55aedf37438ed89730a9684b67a20d79dea3864531521421c1436922a19667353d7e51253ad3449a99b7b21a
+AUX pcsx2-1.7.0-crcs.patch 1456 BLAKE2B e4dc096bf863d5067816b2755ba84a6f7e6d9163b19e3517906c012a62bf35f5702f887c9f42ada87e23d6f10490e1d68d9d68864c96b40acb95c4ae7175f0be SHA512 2c283c38382983c2acc95ea369c1becf43266101edf5b4dd7824346a813061a3146cd3fdaad38936f3d208140dcf02ff02c1d43eac4e95cbcf5dcb3449a1a525
DIST pcsx2-1.6.0.tar.gz 17963332 BLAKE2B d1370fd089e1f8716a3365b9f499fef9418c4a9464e701cf0dbac8296cf59a2c6fc9b85ed680c514d8128da7b5c47aa8a067d48cac9eb0482ef2ba5f9234e60e SHA512 0a3e01a25384719fc72b636a1e9cf1cd966d0c978c1c3adfb46d6b3f76f43a25f90ef63d27a1d8092cdf444c5dc7560ce807ca81908d11ade9715e7eaaad6253
EBUILD pcsx2-1.6.0-r3.ebuild 2647 BLAKE2B 7d7a0e595d3d8297f3ae0049b3c376f404eeb5a6f477486076e5ac2b72dae6065c97b845f715f4e7e52af158b9dfbe6bbc5cf4f10d051838eafe44553f76efd3 SHA512 18b6131c6ff0b292f4dde4a54b4a5c698a403860ab332e01f181e18931e5ac14cc131ce140de563125f63eeb8b3523b51c6df4f4ecf2086a00e000d4e3d0289b
-EBUILD pcsx2-9999.ebuild 3042 BLAKE2B 1602d87ba0278ed4866b594b256ec41a3171927fb10e565c410ca7e9d827c117ab4daa5294bb6dcb1f11397c58d18d9b0ed60fbadb029facbe51567814c8b190 SHA512 f72b467b484a23b54161fa18f92df6c97c67402adc4252b207c1ac934224d2b34221313c3183fd607265df73488b1fff0b212e79f9583cf0cd0c4a6263003d15
+EBUILD pcsx2-9999.ebuild 3108 BLAKE2B cad69eef398de6a9079de20bc03e3e336f203225f66b764749b8754c21329117cbd9c3f61db430dfc491883691a13146f237f65035e3088e968e902035f7c533 SHA512 fa9efc321ffe41a16daf46e8b684eb52f066598e4098ca318b5e059af1f0d0f818694dc4eb898a7ba280a79a1569a8fa1c0ca4d7fe534d2104c6e15de94fec7e
MISC metadata.xml 647 BLAKE2B 506f329d6430ac9d3646a71ad9d0fc3a41689480c1539381f21c042f584e3b4fa8564a31d4c664220549b8271732039791c63c75ae7b1697c5a07d68e9bd5b58 SHA512 713b4466ba59a4a0cd7d1f08686198fe6a37067c1eedea3f1d72323efa6c9d914f5d7bf2de24ca37b31cc3788a689071b09116539f20fb5c80a23397285a2f12
diff --git a/games-emulation/pcsx2/files/pcsx2-1.7.0-crcs.patch b/games-emulation/pcsx2/files/pcsx2-1.7.0-crcs.patch
new file mode 100644
index 000000000000..aa647cd09c07
--- /dev/null
+++ b/games-emulation/pcsx2/files/pcsx2-1.7.0-crcs.patch
@@ -0,0 +1,43 @@
+Upstream-PR: https://github.com/PCSX2/pcsx2/pull/5082
+Upstream-Issue: https://github.com/PCSX2/pcsx2/issues/1762
+Upstream-Issue: https://github.com/PCSX2/pcsx2/issues/5062
+
+From: orbea <orbea@riseup.net>
+Date: Sun, 28 Nov 2021 16:18:48 -0800
+Subject: [PATCH] Revert "GS: Remove Unofficial CRCs (#4082)"
+
+These games hacks are still used and can be removed
+again when a better solution is available.
+
+This reverts commit 6bcdb55f22d468b2eb8b95fd35bd071f9272a89c.
+
+--- a/pcsx2/GS/GSCrc.cpp
++++ b/pcsx2/GS/GSCrc.cpp
+@@ -22,6 +22,8 @@ const CRC::Game CRC::m_games[] =
+ {
+ // Note: IDs 0x7ACF7E03, 0x7D4EA48F, 0x37C53760 - shouldn't be added as it's from the multiloaders when packing games.
+ {0x00000000, NoTitle, NoRegion, 0},
++ {0xF46142D3, ArTonelico2, NoRegion, 0},
++ {0xC38067F4, ArTonelico2, NoRegion, 0}, // project metafalica 1.0
+ {0xF95F37EE, ArTonelico2, US, 0},
+ {0x68CE6801, ArTonelico2, JP, 0},
+ {0xCE2C1DBF, ArTonelico2, EU, 0},
+@@ -164,6 +166,8 @@ const CRC::Game CRC::m_games[] =
+ {0xBF6F101F, GiTS, EU, 0}, // same CRC as another US disc
+ {0xA616A6C2, TalesOfAbyss, US, 0},
+ {0x14FE77F7, TalesOfAbyss, US, 0},
++ {0x045D77E9, TalesOfAbyss, JPUNDUB, 0},
++ {0x14FD77F7, TalesOfAbyss, JPUNDUB, 0},
+ {0xAA5EC3A3, TalesOfAbyss, JP, 0},
+ {0xFB236A46, SonicUnleashed, US, 0},
+ {0x8C913264, SonicUnleashed, EU, 0},
+--- a/pcsx2/GS/GSCrc.h
++++ b/pcsx2/GS/GSCrc.h
+@@ -91,6 +91,7 @@ public:
+ US,
+ EU,
+ JP,
++ JPUNDUB,
+ RU,
+ FR,
+ DE,
diff --git a/games-emulation/pcsx2/pcsx2-9999.ebuild b/games-emulation/pcsx2/pcsx2-9999.ebuild
index 14345f880fa8..3885455b5d81 100644
--- a/games-emulation/pcsx2/pcsx2-9999.ebuild
+++ b/games-emulation/pcsx2/pcsx2-9999.ebuild
@@ -61,6 +61,10 @@ FILECAPS=(
-m 755 "CAP_NET_RAW+eip CAP_NET_ADMIN+eip" usr/bin/pcsx2
)
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.7.0-crcs.patch
+)
+
pkg_setup() {
if [[ ${MERGE_TYPE} != binary && $(tc-getCC) == *gcc* ]]; then
# -mxsave flag is needed when GCC >= 8.2 is used
@@ -93,8 +97,8 @@ src_configure() {
# if it something other than "Devel|Debug|Release"
local CMAKE_BUILD_TYPE="Release"
local mycmakeargs=(
- -DARCH_FLAG=
-DBUILD_SHARED_LIBS=FALSE
+ -DDISABLE_ADVANCE_SIMD=TRUE
-DDISABLE_BUILD_DATE=TRUE
-DDISABLE_PCSX2_WRAPPER=TRUE
-DDISABLE_SETCAP=TRUE