317 Commits

Author SHA1 Message Date
Henrik Rydgård
16a9dd62ea Merge pull request #127 from jacky400/master
Implement sceSasGetPauseFlag() in sascore.cpp
2012-12-05 05:17:49 -08:00
jacky400
595ff3b1fb Update Core/HLE/sceAudio.cpp
Too spam and change it to debug log
2012-12-05 20:22:11 +08:00
jacky400
305a87407b Update Core/HLE/sceSas.cpp
Implement sceSasGetPauseFlag() in sascore.cpp
2012-12-05 19:50:25 +08:00
Henrik Rydgård
b4c19bdd02 Merge pull request #123 from tmaul/master
Improve the sceRtcTickAddMonths method
2012-12-05 03:22:00 -08:00
Henrik Rydgård
36943db4ec Merge branch 'master' of github.com:hrydgard/ppsspp
Conflicts:
	Core/Config.h
2012-12-05 10:57:30 +07:00
Kevin Armstrong
e1a5bf91c3 more rtc changes, getting closer 2012-12-04 21:32:15 +00:00
Kevin Armstrong
4380995193 make addmonths work slightly more correctly 2012-12-04 21:32:15 +00:00
jacky400
0b659e20fd Update Core/Config.h 2012-12-05 00:04:55 +08:00
jacky400
582b078c23 Update Core/Config.cpp 2012-12-05 00:04:24 +08:00
Unknown W. Brackets
d07e51bff0 Always allow peeking into ctrl buffers. 2012-12-02 21:07:17 -08:00
Unknown W. Brackets
8a801ff761 Send the recent N ctrl buffers, fixing lag. 2012-12-02 19:53:20 -08:00
Unknown W. Brackets
f6009e477f Start with one free buffer to match things. 2012-12-02 17:14:00 -08:00
Unknown W. Brackets
aea9b16a04 Add ctrl waits when there are no buffers yet. 2012-12-02 17:03:13 -08:00
Unknown W. Brackets
ec6c0e9ccd The ctrl latch should work now, don't log as error. 2012-12-02 16:19:14 -08:00
Unknown W. Brackets
fd2d666191 Add ctrl sampling (vblank).
This makes it work like the PSP does with number of buffers, etc.
Still doesn't wait yet.
2012-12-02 15:44:23 -08:00
Unknown W. Brackets
7edb340577 Start the ctrl latch off all just released. 2012-12-02 12:44:33 -08:00
Unknown W. Brackets
b93c4f636c Oops, prevent a possible crash in ctrl. 2012-12-02 08:28:05 -08:00
Unknown W. Brackets
754a49dfd7 Make sceCtrlReadLatch work more correctly.
It gets changes since last call, makes sense.
2012-12-02 08:28:05 -08:00
Unknown W. Brackets
0dc8e2a420 Set the ctrl frame value to something useful. 2012-12-02 08:28:04 -08:00
Unknown W. Brackets
843d495c5b Don't expect sceCtrlInit ever, minor ctrl funcs.
I don't see any indication that you need to call init first.
2012-12-02 08:28:04 -08:00
Unknown W. Brackets
bf8abaebe5 Don't include analog when not enabled in ctrl.
Fixes menu, movement in Tales of Eternia.
2012-12-02 08:28:04 -08:00
Unknown W. Brackets
9e8160c88b Correct sceUmdGetDiscInfo().
The struct was wrong, also add error handling.
2012-12-02 00:33:39 -08:00
Unknown W. Brackets
e5f1d701e3 Don't unregister a different UMD callback, cleanup. 2012-12-02 00:20:28 -08:00
Unknown W. Brackets
9ba9415df4 Change the UMD callback on overwrite. 2012-12-01 23:48:11 -08:00
Unknown W. Brackets
51a4ed4f75 Reschedule when activating/deactivating the UMD.
This is what a PSP seems to do.
2012-12-01 23:29:25 -08:00
Unknown W. Brackets
00ca9d8dc7 Make the UMD wait funcs actually wait. 2012-12-01 23:29:24 -08:00
Unknown W. Brackets
16c29a52a8 Improve debugging for bad callback ids. 2012-12-01 23:29:24 -08:00
Unknown W. Brackets
eaaedc7adc This notify isn't needed and was broken anyway. 2012-12-01 23:29:24 -08:00
Unknown W. Brackets
1142ad3ec6 sceUmdDeactivate() seems to always schedule a cb. 2012-12-01 23:29:23 -08:00
Unknown W. Brackets
4abcb6a8ac Fix sceUmdWaitDriveStatCB() so it fires right away.
This makes Crisis Core actually show loading again.
2012-12-01 23:29:23 -08:00
Unknown W. Brackets
c00f3dcdd8 Implement sceUmdCancelWaitDriveStat(). 2012-12-01 23:29:22 -08:00
Unknown W. Brackets
f3e23f2672 Add some asserts for activating UMDs. 2012-12-01 23:29:22 -08:00
Henrik Rydgård
364a78edaf Add option to show/hide touch controls 2012-12-01 23:20:08 +01:00
Henrik Rydgard
4393dc02a6 Buildfix 2012-12-01 12:36:52 +01:00
Henrik Rydgard
ab4482a0a4 Respect param len in PARAM.SFO parser 2012-12-01 10:33:05 +01:00
Henrik Rydgard
6e32b30afd DisplayDrawer->FramebufferManager 2012-12-01 10:17:34 +01:00
Henrik Rydgard
cdc94a6cad Halve the kernel memory so that the "volatile" 4MB fits without overlapping 2012-12-01 10:17:33 +01:00
Unknown W. Brackets
a2ee736793 Process events when idle or switching threads.
Fixes hrydgard/ppsspp#104, so things execute more accurately.
2012-11-30 23:09:14 -08:00
Unknown W. Brackets
998104e2eb Consider threads still waiting until they wake.
This seems to match the actual behavior of timeouts much better.
2012-11-30 23:04:24 -08:00
Unknown W. Brackets
48c5efd0c2 Match hw timing of mutex/sema timeouts better.
Affects some tests passing/not passing due to minor timing issues, ugh.
2012-11-30 22:58:42 -08:00
Unknown W. Brackets
7164638799 Allow semaphores with waiters to signal.
If the max is 1, but there's 1 waiting, it's okay to signal 2.
Really, the final result is what matters.
2012-11-30 22:58:41 -08:00
Unknown W. Brackets
3ab41e515d Mutexes and semaphores don't always reschedule.
It's just the normal rescheduling happening.  Previous tests weren't
correct.

Also some minor cleanup.
2012-11-30 22:58:41 -08:00
Henrik Rydgard
1189da826c Also get TITLE from PARAM.SFO 2012-11-30 22:34:08 +01:00
Henrik Rydgard
a5e35ad6d9 Parse PARAM.SFO to get the disc ID, show in title bar on Windows 2012-11-30 22:32:51 +01:00
Kevin Armstrong
82abb1e296 at least one game expects the UMD to be on UMD: 2012-11-30 16:47:04 +00:00
Henrik Rydgard
945d9b6762 Implement wsbh 2012-11-29 14:35:44 +01:00
Henrik Rydgard
e370a1a8aa Fix project and .rc so it builds with VS 2010 Express, thanks Darth1701. Plus logging tweaks. 2012-11-29 10:41:48 +01:00
Kevin Armstrong
5d0c88334b 9999 is actually the maximum year as verified on my PSP 2012-11-28 19:24:35 +00:00
Kevin Armstrong
de0a161be6 reduce the number of errors in sceRtc.cpp 2012-11-28 19:02:56 +00:00
Henrik Rydgard
5fb8e6dfb0 DXT textures now mostly working-ish (work left to do on alpha for DXT3/5) 2012-11-28 16:12:29 +01:00