Commit Graph

154 Commits

Author SHA1 Message Date
Unknown W. Brackets
2613ed8806 Cleanup mutex func types.
Looks like mutexes reschedule when they lock, so switch to void.
2012-11-20 02:19:20 -08:00
Unknown W. Brackets
429ac9de87 Oops, CreateMutex was missing a parameter. 2012-11-20 02:19:19 -08:00
Unknown W. Brackets
4bab714db5 Mutexes go in FIFO order as expected.
The test was wrong.
2012-11-20 02:19:19 -08:00
Unknown W. Brackets
4cddd3092a Implement basic locking for sceKernel mutexes.
Test still not passing, due to odd order the mutex is unlocked in?
But, at least, it does lock now.
2012-11-20 02:19:19 -08:00
Henrik Rydgard
f378f959e1 Fix issues with games that don't call sceDisplaySet mode. Add option to run without FBOs, may be useful on slow devices. 2012-11-20 10:59:23 +01:00
Henrik Rydgard
f226afc3ca Implement a missing time function 2012-11-20 01:04:39 +01:00
Henrik Rydgard
ee32db47b9 Assorted FBO fixes 2012-11-20 00:31:19 +01:00
Henrik Rydgard
4a49b8ee36 Workaround for motogp setting a bogus framebuffer address. 2012-11-19 23:53:38 +01:00
Henrik Rydgard
8b67975a47 GL: Framebuffer management using FBOs. Fixes flicker in Lumines and many others. 2012-11-19 23:29:14 +01:00
Henrik Rydgard
91e1cce17e Some reorg in preparation for FBO work 2012-11-19 21:23:29 +01:00
Henrik Rydgård
14a59fdc75 Found a better way to do the previous change. Allow JIT on mac/linux. 2012-11-19 14:51:47 +01:00
Henrik Rydgård
fb25b7405c Synchronize the mainloop to the display end-of-frame on nonWindows
platforms.
2012-11-19 14:16:37 +01:00
Henrik Rydgård
ec2cb15c38 Merge branch 'master' of github.com:hrydgard/ppsspp
Conflicts:
	Core/HLE/sceKernelInterrupt.cpp
	native
2012-11-19 11:35:53 +01:00
Henrik Rydgard
1f48dc380a gitignore, comments, upgrade native. 2012-11-19 09:25:50 +01:00
Henrik Rydgard
2d431d27e7 Crashfix for a buggy game that misuses sceUtility 2012-11-19 00:29:41 +01:00
Henrik Rydgard
8e3148587a Merge branch 'master' of github.com:hrydgard/ppsspp 2012-11-18 23:40:35 +01:00
Henrik Rydgard
d572d40c36 More warning fixing 2012-11-18 23:35:02 +01:00
Henrik Rydgard
fa05713456 misc cleanup 2012-11-18 23:14:50 +01:00
Henrik Rydgård
739b747e02 Merge branch 'master' of github.com:hrydgard/ppsspp 2012-11-18 23:00:13 +01:00
kev :)
bcb0cbe7ea make sceUtilitySavedataInitStart return 0
Makes a few other games get further
2012-11-18 21:45:14 +00:00
kev :)
d04fb7cb50 A bit more clean up on umd callbacks
Just error checking based on some tests
2012-11-18 21:28:26 +00:00
kev :)
03bc871f56 sceDisplayWaitVblankStartMultiCB()
This is wrong but better than having nothing in the method. The one game
I have found that uses this seems to be ok with this implementation.
2012-11-18 20:13:27 +00:00
kev :)
9257b28c15 Limit thread name
Seems this needs to be limited
2012-11-18 19:34:53 +00:00
kev :)
48bd2ccc08 Attempt at UMD callbacks.
Helps a few games but needs more work.
2012-11-18 19:34:10 +00:00
kev :)
71a3b789b8 Add fake methods that use sceGetCurrentTick 2012-11-18 19:33:19 +00:00
Henrik Rydgard
75412b064b Implement sceUtilityMsgDialog 2012-11-18 17:51:14 +01:00
Henrik Rydgard
5596b98529 Get rid of opengl include from sceDisplay.cpp 2012-11-18 13:14:22 +01:00
Henrik Rydgard
e37a1fb1d3 Add internal 2D drawing library that goes through the Ge emulation for portability.
To be used for things like sceUtility* and other overlays like FPS and stats.
2012-11-18 13:04:49 +01:00
Henrik Rydgård
f002fe8db3 Merge branch 'master' of github.com:hrydgard/ppsspp
Conflicts:
	Core/HLE/HLE.h
	Core/HLE/sceKernel.h
	Core/HLE/sceKernelInterrupt.cpp
2012-11-17 20:11:54 +01:00
Henrik Rydgard
7720dc3f60 Various warning, logging, jit fixes 2012-11-17 19:56:28 +01:00
Henrik Rydgard
449f56d6f8 Fix analog stick stuck in Up 2012-11-17 19:23:05 +01:00
Henrik Rydgard
d239f4ece1 Fix tests hanging, after the audio rewrite 2012-11-17 18:08:10 +01:00
Henrik Rydgard
64e476c199 Merge branch 'unknownbrackets-sema-cleanup' 2012-11-17 15:06:48 +01:00
Henrik Rydgard
423bba5d8d Some optimization and minor fixes 2012-11-17 15:06:10 +01:00
Henrik Rydgard
184d5b9443 Merge branch 'sema-cleanup' of https://github.com/unknownbrackets/ppsspp into unknownbrackets-sema-cleanup
Conflicts:
	pspautotests
2012-11-17 15:05:30 +01:00
Henrik Rydgard
5a48578a12 Rewrite audio line output. Now deterministic (from the game's POV) and smoother. 2012-11-17 14:20:59 +01:00
Unknown W. Brackets
157858819b Additional semaphore fixes with updated tests. 2012-11-17 01:43:01 -08:00
Henrik Rydgård
509ae819ab Merge pull request #54 from unknownbrackets/sema-cleanup
Semaphore func cleanup
2012-11-16 02:33:09 -08:00
Unknown W. Brackets
2e9e61dfc6 CancelSema: adjust scheduling to match PSP. 2012-11-16 01:50:26 -08:00
Unknown W. Brackets
8517fbe761 PollSema: don't allow values <= 0. 2012-11-16 01:41:54 -08:00
Unknown W. Brackets
71e57043e8 SignalSema: throw an error on overflow.
This is what the PSP does.
2012-11-16 01:32:00 -08:00
Unknown W. Brackets
dd14450424 CreateSema: Truncate and validate like the PSP. 2012-11-16 01:26:04 -08:00
Unknown W. Brackets
0ab19c18e5 Wrap sceKernelCreateSema(). 2012-11-16 00:06:44 -08:00
Unknown W. Brackets
4191d40187 Add notes about PRIORITY attribute.
Not supported yet.
2012-11-15 23:55:23 -08:00
Henrik Rydgard
90654bcd0e VFPU fixes, misc 2012-11-15 10:15:40 +01:00
kev :)
d0fdd4c172 Make sceUtility test pass (assuming the last line is wrong)
It has to be more correct than before even if its still not 100%
2012-11-14 23:05:58 +00:00
kev :)
3764f48bee Make the directory test pass
The test for this might need to be extended to see what happens with
multiple sub folders and large files, and i do question the expected
size of '..'
2012-11-14 21:24:57 +00:00
kev :)
0753643dc4 More stubs
And one possible hack..
2012-11-14 18:52:06 +00:00
kev :)
0b1f2f59c4 A few more stubs
Stubbed out some missing inet functions used by a couple of games
2012-11-14 18:33:18 +00:00
kev :)
435c69196a This is used by a couple of games.
stubbed out to make them shutup.
2012-11-14 18:16:13 +00:00