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

Improve some scheduling issues, deny many waits inside interrupts #3452

Merged
merged 8 commits into from Aug 28, 2013

Conversation

unknownbrackets
Copy link
Collaborator

This fixes several things:

  • If a thread was terminated/ended while waiting, it could've been "brought back to life." I found this mainly when force-killing threads for debugging purposes.
  • sceKernelDisableSubIntr() was not actually disabling anything (fixes intr/vblank/vblank.)
  • Better error codes when inside an interrupt or they're disabled, and don't do things in these cases that shouldn't be done.

I only tested a handful of games but they all work fine still. I kinda expect this to break things and fix things... but it is all per tests.

-[Unknown]

@daniel229
Copy link
Collaborator

Great,It fixed digimon advanture,before was trapped behind the exit gate.
01
02

hrydgard added a commit that referenced this pull request Aug 28, 2013
Improve some scheduling issues, deny many waits inside interrupts
@hrydgard hrydgard merged commit cbf3a4a into hrydgard:master Aug 28, 2013
@daniel229
Copy link
Collaborator

Fixed corrupt graphic in Frontier Gate Boost+,and the game goes ingame again recently.
03
04

@hrydgard
Copy link
Owner

That still looks a little broken though :)

@daniel229
Copy link
Collaborator

Try again the game,some time still like that before.
05

sometime like this
06

@unknownbrackets
Copy link
Collaborator Author

Hmm, interesting if this changed its behavior... or was it just random before and it's still random?

-[Unknown]

@daniel229
Copy link
Collaborator

just tested, It's random before,still corrupt everywhere,and random hang.

AskaMainThre W[HLE]: F:\ppsspp\Core/HLE/sceKernel.h:454 Kernel: Bad object handle 0 (00000000)

@daniel229
Copy link
Collaborator

digimon not fixed, it's still random?
01

@Blackwargreymon
Copy link

In Digimon Adventure the problem it's still random.
1.- USE save states.
2.- Keep pressing the TAB key while running with agumon and you have 25%-60% chances to load the next area
3.- If you fail, load and repeat.

http://forums.ppsspp.org/showthread.php?tid=2809&pid=45572#pid45572

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants