Commit graph

54 commits

Author SHA1 Message Date
Unknown W. Brackets
d8eede0b9a Add some unknown syscalls from reporting.
These are being linked in by games, so defining them will log them when
they are hit.
2013-06-30 12:05:14 -07:00
The Dax
4017550e41 Implement some missing syscalls and "fix" one, which fixes a Project Diva 2nd hang, and possibly other games that rely on sceUtilityScreenshotGetStatus to return success, since they tend to wait forever for the dialog to finish. I'd like to implement the dialog and functionality someday, but for now, this works fine.
Also implement stub for sceRtcSetAlarmTick, though Diva 2nd doesn't care if it's implemented or not.
2013-06-12 04:46:06 -04:00
Unknown W. Brackets
50c085401a Remove UNIMPL from FileTime funcs, they work now. 2013-05-25 19:15:15 -07:00
Unknown W. Brackets
f24b4ef7de Implement the sceRtc*Win32FileTime() funcs. 2013-05-25 17:27:34 -07:00
Unknown W. Brackets
8580780194 Add more unknown syscalls from reporting. 2013-05-22 01:19:25 -07:00
Unknown W. Brackets
86ce95a658 Add some syscall entries from reporting. 2013-05-19 22:12:38 -07:00
Unknown W. Brackets
ded3fb5e12 Add reporting to a bunch of unimpl functions.
Also some comment/logging fixes along the way.
2013-05-19 22:12:37 -07:00
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
2df10e9b69 Add more accurate cycles in sceRtc and sceDisplay. 2013-05-04 23:42:11 -07:00
nachume
c89589c27d mistake sceRtcGetLastAdjustedTime() is not UNIMPL function.
revert  to DEBUG_LOG from  ERROR_LOG.
2013-04-29 14:52:36 +09:00
nachume
aa1c546a3e FIX sceRtc.cpp HLEFunction Array Wrapped Function not used reference pointer. 2013-04-29 14:32:36 +09:00
nachume
55b94900a0 UNIMPL functions replace DEBUG_LOG -> ERROR_LOG 2013-04-29 14:16:55 +09:00
nachume
c2c6adb7c9 Add new sceNp/scePauth and some stubs for unknown functions on THE IDOLM@STER SP. 2013-04-29 12:40:09 +09:00
Henrik Rydgard
58d6859cf4 Eat some cpu cycles in sceRtcGetCurrentTick 2013-03-24 12:33:43 +01:00
Sacha
cf9b2ab975 Fix for Qt/Symbian. 2013-01-28 01:01:47 +10:00
Unknown W. Brackets
6e6e71d116 Quick fix rtc crash, probably gives wrong results. 2013-01-25 08:34:04 -08:00
Unknown W. Brackets
1cd5421bdc Buildfix for missing functions on Android/win32. 2013-01-25 08:32:30 -08:00
Unknown W. Brackets
f102908f5d Fix crashes when localtime() can't handle the date. 2013-01-25 08:31:50 -08:00
Xele02
0e69cd92c7 Make sceRTC pass the tests. 2013-01-25 01:40:38 +01:00
Xele02
fff581aa88 Implement sceRtcGetDosTime and sceRtcSetDosTime. Pass the test.
This was RE since the values to return are not logic at all.
2013-01-23 01:25:32 +01:00
Xele02
2d94b3415e Make sceRtcGetDayOfWeek pass the test. 2013-01-22 08:55:01 +01:00
TMaul
e8f240c1d4 Fix some more possible errors
Shadowed var n in MIPSIntVFPU

Possible buffer overflow in vertexdecoder.h

fix valid address checking in sceRtc function
2012-12-23 20:51:05 +00:00
Henrik Rydgård
fba61b2a2a Warning fixes (and maybe a bugfix) in sceRtc 2012-12-23 09:38:47 +01:00
Unknown W. Brackets
217bdc275e Fix some type-conversion warnings. 2012-12-21 16:07:38 -08:00
Florent Castelli
c33eafd430 Warning fixes 2012-12-21 23:02:35 +01:00
Sacha
a0b809023c Don't check if unsigned is less than 0. Fix tabbing. 2012-12-19 13:07:41 +10:00
TMaul
0414b072a4 Display OSK message
And some cleanup
2012-12-15 17:13:58 +00:00
TMaul
f40177ada8 More stubs and clean up
From various games
2012-12-13 11:40:55 +00:00
TMaul
b21a89e56e Add sceRtcGetTime64_t
and define sceNetAdhocPollSocket
2012-12-13 11:40:54 +00:00
TMaul
b8f125bf7d sceRtcGetTime_t is also 32bit
and is seconds from 1970
2012-12-09 18:48:29 +00:00
TMaul
af8dfdb4e4 Make sceRtcSetTime_t test complete
(Now with fixed line endings)
2012-12-05 23:48:20 +00:00
TMaul
1a13bfe8a9 Revert "Make sceRtcSetTime_t test complete"
This reverts commit 315295af9a.
2012-12-05 23:47:39 +00:00
TMaul
315295af9a Make sceRtcSetTime_t test complete
And a few other cleanups as suggested
2012-12-05 23:40:10 +00:00
TMaul
67e52a6fa8 noticed some strange check day of week calls, we are not returning the correct value for them 2012-12-05 23:40:10 +00: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
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
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
Kevin Armstrong
e3b521b893 sceRtc function stubs, and some actual working functions 2012-11-26 00:36:36 +00:00
Henrik Rydgard
ced89f5983 Warning fixes 2012-11-25 15:46:51 +01: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
kev :)
fcfeeb8319 add sceKernelMemcpy & sceRtcSetTick
Untested apart from via games. gets bemani going further.
2012-11-23 18:51:36 +00: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
Henrik Rydgard
08f8f4b323 Cleanup sceRtc, move sceFont to its own file. 2012-11-22 22:30:44 +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