Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COP0 PCCR: Don't update counters if counting is disabled #4690

Merged
merged 1 commit into from
Aug 27, 2021

Conversation

refractionpcsx2
Copy link
Member

@refractionpcsx2 refractionpcsx2 commented Aug 26, 2021

Description of Changes

Gets rid of the spooky apparition in Grand Theft Auto 3 if you watch the intro.

This is kind of just enabling the old code which was kind of correct, but the old code didn't ignore the time passed, so this also updates the last cycles.

Rationale behind Changes

GTA 3 had a clone eightball if you watched the intro for some reason if you let the PCCR counters count when they are disabled.

Suggested Testing Steps

IDK, try games, i guess, Roland Garrett Tennis, Spongebob Bikini Bottom PAL and GTA 3 have been tested by me, but you're free to confirm.

Fixes #2714

Gets rid of the spooky apparition in Grand Theft Auto 3 if you watch the intro.

This is kind of just enabling the old code which was kind of correct, but the old code didn't ignore the time passed, so this also updates the last cycles.
@ghost
Copy link

ghost commented Aug 26, 2021

Wow, quite a catch on that one, I will test to see if anything have changed in any of my games.

@refractionpcsx2
Copy link
Member Author

Thanks :) yeah, didn't quite expect that one...

@ghost
Copy link

ghost commented Aug 26, 2021

I would imagine the game code of that game is hack-land to have such a problem. Btw, I see no difference in the games I tested. Might be worth checking the others GTA games to see what happens.

@refractionpcsx2
Copy link
Member Author

refractionpcsx2 commented Aug 26, 2021

My best guess is it's using performance counters to work out how long things are taking to load/unload, and because the timer is just running away, that it's thinking it's taken too long to happen, so instead of the game hanging doing that, they just leave it and continue? I'm not sure, very weird.

@refractionpcsx2 refractionpcsx2 merged commit c288be3 into master Aug 27, 2021
@refractionpcsx2 refractionpcsx2 deleted the ghost_busters branch August 27, 2021 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Grand Theft Auto III - Cloned Character At The Beginning (8-Ball)
1 participant