Compare commits

...

4 Commits

Author SHA1 Message Date
RedPanda4552
2c08b385e5 Pad: Revert back to old Constant 1 behavior
Fixes pad detection in NBA 2K7, possibly others.
2023-07-25 00:27:53 +01:00
JordanTheToaster
051d13ec7a GameDB: Various fixes
Adds missing fixes and game entry's for guitar hero and re fixes LOTR Third Age.
2023-07-24 23:18:30 +01:00
refractionpcsx2
a2a9643123 GameDB: Move Haunting Ground over to HPO Special + Round Sprite Half 2023-07-24 21:44:24 +01:00
refractionpcsx2
1286bfe75b UI/UX: Added popup when updating if savestate version changes 2023-07-24 19:42:36 +01:00
3 changed files with 76 additions and 12 deletions

View File

@@ -9583,9 +9583,9 @@ SLAJ-25049:
region: "NTSC-Unk"
SLAJ-25051:
name: "Lord of the Rings, The - The Third Age"
region: "NTSC-Unk"
region: "NTSC-Ch"
gsHWFixes:
halfPixelOffset: 1 # Fixes ghosting in cutscenes.
halfPixelOffset: 2 # Fixes ghosting.
SLAJ-25052:
name: "Urbz, The - Sims in the City"
region: "NTSC-Unk"
@@ -10245,6 +10245,11 @@ SLED-54401:
mergeSprite: 1 # Fixes misaligned bloom.
halfPixelOffset: 2 # Fixes misaligned bloom.
autoFlush: 2 # Fixes sun occlusion and brightness.
SLED-54509:
name: "Guitar Hero II [Demo]"
region: "PAL-M5"
roundModes:
vu1RoundMode: 0 # Massages the Z on the score meter for hardware mode, software doesn't really need this.
SLES-50003:
name: "Swap Magic DVD Disc v2.0"
region: "PAL-Unk"
@@ -16703,25 +16708,27 @@ SLES-52801:
name: "Lord of the Rings, The - The Third Age"
region: "PAL-M5"
gsHWFixes:
halfPixelOffset: 1 # Fixes ghosting in cutscenes.
halfPixelOffset: 2 # Fixes ghosting.
SLES-52802:
name: "Seigneur des anneaux, Le - Le Tiers Âge"
region: "PAL-F"
gsHWFixes:
halfPixelOffset: 1 # Fixes ghosting in cutscenes.
halfPixelOffset: 2 # Fixes ghosting.
SLES-52803:
name: "Herr der Ringe, Der - Das dritte Zeitalter"
region: "PAL-G"
gsHWFixes:
halfPixelOffset: 2 # Fixes ghosting.
SLES-52804:
name: "Signore degli Anelli, Il - La Terza Era"
region: "PAL-I"
gsHWFixes:
halfPixelOffset: 1 # Fixes ghosting in cutscenes.
halfPixelOffset: 2 # Fixes ghosting.
SLES-52805:
name: "Señor de Los Anillos, El - La Tercera Edad"
region: "PAL-S"
gsHWFixes:
halfPixelOffset: 1 # Fixes ghosting in cutscenes.
halfPixelOffset: 2 # Fixes ghosting.
SLES-52807:
name: "Lemony Snicket's A Series of Unfortunate Events"
region: "PAL-E"
@@ -16925,7 +16932,8 @@ SLES-52877:
region: "PAL-M5"
compat: 5
gsHWFixes:
halfPixelOffset: 1 # Fixes blurriness.
halfPixelOffset: 2 # Reduces blurriness. Normal Vertex works better, but causes some lights to disappear.
roundSprite: 1 # Further reduces blurriness.
beforeDraw: "OI_HauntingGround" # Fix bloom.
SLES-52882:
name: "Stolen"
@@ -22647,6 +22655,8 @@ SLES-54962:
region: "PAL-E"
roundModes:
vu1RoundMode: 0 # Crashes without.
gsHWFixes:
textureInsideRT: 1 # Crowd textures.
SLES-54963:
name: "Tony Hawk's Proving Ground"
region: "PAL-E"
@@ -22678,6 +22688,8 @@ SLES-54974:
region: "PAL-M4"
roundModes:
vu1RoundMode: 0 # Crashes without.
gsHWFixes:
textureInsideRT: 1 # Crowd textures.
SLES-54975:
name: "George Of The Jungle"
region: "PAL-E"
@@ -24174,6 +24186,7 @@ SLES-55605:
- SoftwareRendererFMVHack # Fixes vertical lines in FMVs.
gsHWFixes:
halfPixelOffset: 1 # Corrects post processing position.
cpuCLUTRender: 1 # Reduces the bloomy blur of characters.
clampModes:
vu1ClampMode: 3 # Fixes SPS on characters.
SLES-55609:
@@ -25445,7 +25458,7 @@ SLKA-25237:
name: "Lord of the Rings, The - The Third Age"
region: "NTSC-K"
gsHWFixes:
halfPixelOffset: 1 # Fixes ghosting in cutscenes.
halfPixelOffset: 2 # Fixes ghosting.
SLKA-25241:
name: "Need for Speed - Underground 2"
region: "NTSC-K"
@@ -25933,6 +25946,13 @@ SLKA-25410:
SLKA-25413:
name: "SD Gundam G - Generation Spirits"
region: "NTSC-K"
SLKA-25414:
name: "Guitar Hero III - Legends of Rock"
region: "NTSC-K"
roundModes:
vu1RoundMode: 0 # Crashes without.
gsHWFixes:
textureInsideRT: 1 # Crowd textures.
SLKA-25422:
name: "Silent Hill - Origins"
region: "NTSC-K"
@@ -32250,6 +32270,8 @@ SLPM-65845:
SLPM-65846:
name: "Lord of the Rings, The - Uchitsu Kuni Daisanki"
region: "NTSC-J"
gsHWFixes:
halfPixelOffset: 2 # Fixes ghosting.
SLPM-65847:
name: "Soriaro no Fuukin Remix [First Print - Limited Edition]"
region: "NTSC-J"
@@ -36909,6 +36931,7 @@ SLPM-68019:
- SoftwareRendererFMVHack # Fixes vertical lines in FMVs.
gsHWFixes:
halfPixelOffset: 1 # Corrects post processing position.
cpuCLUTRender: 1 # Reduces the bloomy blur of characters.
clampModes:
vu1ClampMode: 3 # Fixes SPS on characters.
SLPM-68503:
@@ -41914,6 +41937,7 @@ SLPS-25837:
- SoftwareRendererFMVHack # Fixes vertical lines in FMVs.
gsHWFixes:
halfPixelOffset: 1 # Corrects post processing position.
cpuCLUTRender: 1 # Reduces the bloomy blur of characters.
clampModes:
vu1ClampMode: 3 # Fixes SPS on characters.
SLPS-25838:
@@ -41927,6 +41951,8 @@ SLPS-25840:
region: "NTSC-J"
roundModes:
vu1RoundMode: 0 # Crashes without.
gsHWFixes:
textureInsideRT: 1 # Crowd textures.
SLPS-25841:
name: "Tales of Destiny [Director's Cut] [Premium Box]"
region: "NTSC-J"
@@ -42099,10 +42125,12 @@ SLPS-25889:
roundModes:
vu1RoundMode: 0 # Fixes VU size spam and potential graphical issues with GH3 engine.
SLPS-25890:
name: "Guitar Hero III - Legends of Rock [with Guitar]"
name: "Guitar Hero III - Legends of Rock"
region: "NTSC-J"
roundModes:
vu1RoundMode: 0 # Crashes without.
gsHWFixes:
textureInsideRT: 1 # Crowd textures.
SLPS-25892:
name: "Nogizaka Haruka no Himitsu - Cosplay Hajimemashita"
region: "NTSC-J"
@@ -47932,7 +47960,7 @@ SLUS-21027:
region: "NTSC-U"
compat: 5
gsHWFixes:
halfPixelOffset: 1 # Fixes ghosting in cutscenes.
halfPixelOffset: 2 # Fixes ghosting.
SLUS-21028:
name: "World Championship Poker"
region: "NTSC-U"
@@ -48190,7 +48218,8 @@ SLUS-21075:
region: "NTSC-U"
compat: 5
gsHWFixes:
halfPixelOffset: 1 # Fixes blurriness.
halfPixelOffset: 2 # Reduces blurriness. Normal Vertex works better, but causes some lights to disappear.
roundSprite: 1 # Further reduces blurriness.
beforeDraw: "OI_HauntingGround" # Fix bloom.
SLUS-21076:
name: "Atari Anthology"
@@ -53502,6 +53531,11 @@ SLUS-29174:
SLUS-29175:
name: "Namco Transmission Demo Disc Vol. 3.2"
region: "NTSC-U"
SLUS-29177:
name: "Guitar Hero [Demo]"
region: "NTSC-U"
roundModes:
vu1RoundMode: 1 # Fixes cut-off numbers and restores missing whitespace inside combo meter.
SLUS-29178:
name: "TOCA Race Driver 3 [Demo]"
region: "NTSC-U"

View File

@@ -380,6 +380,8 @@ void AutoUpdaterDialog::getChangesComplete(QNetworkReply* reply)
changes_html.prepend(tr("<h2>Save State Warning</h2><p>Installing this update will make your save states "
"<b>incompatible</b>. Please ensure you have saved your games to a Memory Card "
"before installing this update or you will lose progress.</p>"));
m_update_will_break_save_states = true;
}
if (update_increases_settings_version)
@@ -407,6 +409,23 @@ void AutoUpdaterDialog::getChangesComplete(QNetworkReply* reply)
void AutoUpdaterDialog::downloadUpdateClicked()
{
if (m_update_will_break_save_states)
{
QMessageBox msgbox;
msgbox.setIcon(QMessageBox::Critical);
msgbox.setWindowTitle(tr("Savestate Warning"));
msgbox.setText(tr("<h1>WARNING</h1><p style='font-size:12pt;'>Installing this update will make your <b>save states incompatible</b>.</p><p>Do you wish to continue?</p>"));
msgbox.addButton(QMessageBox::Yes);
msgbox.addButton(QMessageBox::No);
msgbox.setDefaultButton(QMessageBox::No);
// This makes the box wider, for some reason sizing boxes in Qt is hard - Source: The internet.
QSpacerItem* horizontalSpacer = new QSpacerItem(500, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
QGridLayout* layout = (QGridLayout*)msgbox.layout();
layout->addItem(horizontalSpacer, layout->rowCount(), 0, 1, layout->columnCount());
if (msgbox.exec() != QMessageBox::Yes)
return;
}
m_display_messages = true;
QUrl url(m_download_url);
QNetworkRequest request(url);

View File

@@ -231,15 +231,26 @@ u8 PadDualshock2::Constant1(u8 commandByte)
case 3:
stage = commandByte;
return 0x00;
case 5:
return 0x01;
case 6:
if (stage)
{
return 0x00;
return 0x01;
}
else
{
return 0x02;
}
case 7:
if (stage)
{
return 0x01;
}
else
{
return 0x00;
}
case 8:
g_Sio0.SetAcknowledge(false);
return (stage ? 0x14 : 0x0a);