Commit Graph
284 Commits
Author SHA1 Message Date
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
Henrik Rydgard 980d13fe50 Assorted GPU fixes: Advance vertex pointer, fixes missing triangles in SPT. More logging. Separate proj matrices for through and normal mode (through matrix don't need to get updated as often). Some cleanup. 2012-11-28 13:45:22 +01:00
Henrik Rydgard 111f52d67f Unbreak sceAudioOutput2OutputBlocking - must be careful about returns in blocking functions! 2012-11-28 11:09:12 +01:00
Henrik Rydgard 52572d92e6 Merge branch 'master', remote-tracking branch 'origin' 2012-11-28 10:38:22 +01:00
Sacha 6192bdf6df sceIoRename function 2012-11-28 05:21:32 +10:00
Henrik Rydgård 156cfc4e6a Merge pull request #100 from Ced2911/endian
sceAudio wrap
2012-11-27 04:12:37 -08:00
Ced2911 8bf93cfb54 sceAtrac wrap 2012-11-27 13:05:51 +01:00
Ced2911 f6fd7e13d1 sceAudio wrap 2012-11-27 12:18:58 +01:00
Henrik Rydgard a74af8f372 Some new NIDs, log fix, very minor bugfix. 2012-11-27 11:40:30 +01:00
Henrik Rydgård 4991c84868 Merge pull request #99 from Ced2911/endian
less Memory::GetPointer
2012-11-27 01:31:50 -08:00
Ced2911 6db4ea2ad1 less Memory::GetPointer 2012-11-27 10:18:36 +01:00
Kevin Armstrong c124c079dc more sceRTC functions. Ones marked as hack either fail the tests or are a bit wrong 2012-11-26 23:37:21 +00:00
Henrik Rydgard 870ea6628b Reasonably correct viewport handling. Optional debug stats overlay (not always 100% working). 2012-11-26 17:35:08 +01:00
Henrik Rydgård b3a6444f4b Merge pull request #94 from xsacha/master
CMakeLists cleanup; Improve portability to future platforms; iOS support
2012-11-26 00:02:30 -08:00
Sacha 3c903dda24 Improve portability to future platforms. Make use of new USING_GLES2 define throughout PPSSPP. Also use ARM definition where suitable. Remove some redundancy with includes. 2012-11-26 13:25:14 +10:00
Kevin Armstrong e3b521b893 sceRtc function stubs, and some actual working functions 2012-11-26 00:36:36 +00:00
Henrik Rydgard c0075d8322 Special case for GL_ZERO blend factor too. Don't log on "sync". 2012-11-25 17:48:05 +01:00
Henrik Rydgard ced89f5983 Warning fixes 2012-11-25 15:46:51 +01:00
Henrik Rydgård fc453c979f MacOSX buildfix. Doesn't run right yet though. 2012-11-25 12:25:07 +01:00
Henrik Rydgård ec25bfc9a4 Merge pull request #90 from tmaul/master
Update sceRtcSetTick based on test cases
2012-11-25 02:13:27 -08:00
Unknown W. Brackets 8736a567b2 Advance the PC after vrnds. 2012-11-24 18:25:42 -08:00
kev :) 68d644306e Rename and retype a variable 2012-11-25 00:22:39 +00:00
kev :) 7e85df9c0f Update sceRtcSetTick based on test cases 2012-11-25 00:14:14 +00:00
Unknown W. Brackets 063f914ff3 Fix project files so things build again. 2012-11-24 09:20:53 -08:00
Unknown W. Brackets 3642c02562 Add some guards to audio funcs on channel.
The atrac test was crashing.
2012-11-23 16:25:26 -08:00
kev :) fcfeeb8319 add sceKernelMemcpy & sceRtcSetTick
Untested apart from via games. gets bemani going further.
2012-11-23 18:51:36 +00:00
Henrik Rydgard a97f66766d Add "slightly faster interpreter", optimizing the most common instrs. Not as helpful as I thought it would be on Android, really need a proper JIT. 2012-11-23 12:42:35 +01:00
Henrik Rydgard f3aeadedfa Remove audio rate throttling, it's better to frame rate throttle. Gets rid of the slowdown that audio caused. 2012-11-23 10:35:28 +01:00
Henrik Rydgard a385ec6056 MIPSDis cleanup, allow mfv zero, 255 (appears to be used to flush VFPU state or something) 2012-11-23 10:35:28 +01:00
Unknown W. Brackets ad116632bf Implement sceRtcGetTick().
Unfortunately, this fixes things so that rtc/rtc is correctly failing.
2012-11-22 23:49:23 -08:00
Unknown W. Brackets c40d8a4fbe Implement sceRtcGetCurrentClock().
Not sure if this needs some kind of DST handling for the tz?
2012-11-22 23:48:12 -08:00
Unknown W. Brackets 965eeaf9da Add error handling to sceRtcGetDaysInMonth(). 2012-11-22 23:48:12 -08:00
Unknown W. Brackets 21398bfcf8 Fix sceRtc module name so the right funcs are run.
Makes rtc/rtc pass again.
2012-11-22 23:48:12 -08:00
Unknown W. Brackets 6a4a26d4bf No need for these headers anymore. 2012-11-22 23:48:11 -08:00