Commit Graph
30 Commits
Author SHA1 Message Date
Unknown W. Brackets db54bffe14 Use a base time throughout rtc and kernel time.
This way, time doesn't move abnormally as far as the game can tell,
even when savestates and fast forward and pause are used.
2013-05-05 10:12:29 -07:00
Unknown W. Brackets f1f2cf0603 Replace some hleEatCycles() with actual PSP timing.
Measured several runs at 8 per run with test overhead check.
2013-05-04 23:42:10 -07:00
Sacha 29651c026b Windows buildfix. Harmattan buildfix (it doesn't have lambdas). Tabify XBRZ. 2013-05-01 12:58:51 +10:00
Sacha 5ea37772d7 pre-C++11 buildfix. Linux buildfix. 2013-05-01 11:19:01 +10:00
Sacha 7e3fed70cf Implement gettimeofday kernel function for non-Windows platforms. Helps some homebrew run. 2013-05-01 04:06:43 +10:00
Unknown W. Brackets 4f473e50c8 Eat a few cycles in sceKernelGetSystemTimeWide(). 2013-04-13 16:31:24 -07:00
Unknown W. Brackets 0918ec8598 Return negative for UnscheduleEvent().
It usually won't be, but it could be negative.

Also some other minor warnings.
2013-04-05 20:44:17 -07:00
raven02 bd413d4caf Revert sceKernelSysClock2USec() 2013-03-31 18:09:27 +08:00
raven02 7b01828ef0 Quick fix 2013-03-31 01:08:23 +08:00
raven02 c6087ea3db Improve few sceKernel clock functions 2013-03-31 00:51:34 +08:00
Unknown W. Brackets 75c5afa147 Add delays in some timing funcs that games tightloop.
Greatly improves performance in Legend of Heroes 1.
2013-03-19 07:48:41 -07:00
Unknown W. Brackets 2a6457b6ab Cut down on h files including PointerWrap.
This makes changes to it a bit faster to build.
2013-02-04 08:26:59 -08:00
Henrik Rydgard 3f0816cd05 Usec2Sysclock fixes 2013-02-03 22:14:19 +01:00
Marcin Mikołajczyk 4497252398 Wrap sceKernelTime functions 2013-02-03 16:33:01 +01:00
Unknown W. Brackets ac8b35b2ef Optimize sysclock / sysclock 2 usec.
Legend of Heroes 1/2/3 call these a ton, making them quite slow.
Not sure if it's a bug, but they can be more optimal which'll make
it easier to debug anyway.
2013-02-02 20:42:16 -08:00
YaPeLandFederico Apelhanz 9cde301f4d Wrap functions on HLETables 2013-01-12 15:17:35 -03:00
Unknown W. Brackets 1c156784b6 Be more deterministic about the time.
This way, if a state is loaded, the game doesn't know.
Also, if the host is slow/sped up, it won't get out of sync.
2013-01-02 01:09:44 -08:00
Unknown W. Brackets 4a713309a3 Make some libc-like funcs behave more like hw. 2013-01-02 00:35:31 -08:00
Unknown W. Brackets 62b8b9af75 Fix sceKernelLibcTime() when time_t is 64 bit. 2013-01-01 21:27:18 -08:00
Henrik Rydgard 08f8f4b323 Cleanup sceRtc, move sceFont to its own file. 2012-11-22 22:30:44 +01: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
kev :) b9ff4295e7 Make RTC tests pass 2012-11-11 00:33:16 +00:00
Henrik Rydgard caacaf6744 Just a few small things 2012-11-07 20:59:56 +01:00
Henrik Rydgard 48bc1afe26 Add vcmp ES condition code, uncached mirror of scratchpad 2012-11-06 16:01:41 +01:00
Henrik Rydgard b214a1a1da Revert "Better wrapper system, and fixed warnings"
This reverts commit a00b1855cb.

Conflicts:

	Core/HLE/FunctionWrappers.h
	Core/HLE/sceCtrl.cpp
	Core/HLE/sceKernelModule.cpp
2012-11-05 10:05:09 +01:00
Henrik Rydgard 6bed1afb72 Merge branch 'master' of https://github.com/artart78/ppsspp into artart78-master 2012-11-04 23:59:26 +01:00
Henrik Rydgard 64cc573703 Switch to "GPL 2.0 or later" for various reasons. I wrote most of the code I imported from Dolphin (which is GPL2-but-not-later), so it should be OK. 2012-11-04 23:24:00 +01:00
Arthur Blot a00b1855cb Better wrapper system, and fixed warnings 2012-11-04 15:08:23 +01:00
Henrik Rydgard 4f7ad15758 Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00