2476 Commits

Author SHA1 Message Date
Henrik Rydgård
f449d03691 Merge pull request #4822 from unknownbrackets/rtc
Fix some date conversions in sceRtc
2013-12-14 01:15:49 -08:00
Unknown W. Brackets
ef9de27651 Fix overflows in sceRtcAdd*() funcs. 2013-12-13 23:03:41 -08:00
Unknown W. Brackets
ba17f57149 Simplify sceRtcTickAddMonths() and write if valid. 2013-12-13 21:58:25 -08:00
Unknown W. Brackets
d7d03f632e sceRtcTickAddYears(): don't write invalid results.
Also fix leap day handling, per tests.
2013-12-13 15:11:40 -08:00
Unknown W. Brackets
0e831b0cda Check days in month within sceRtcCheckValid(). 2013-12-13 15:10:47 -08:00
Unknown W. Brackets
e4e26f6cc1 Convert ticks using a better supported year range.
Since 400 years is a stable number, we can adjust everything to [1970,
2370) and most system libraries (hello, Windows) will get it right.

This fixes overflow issues with tick/date conversions.
2013-12-13 15:07:53 -08:00
Unknown W. Brackets
7c2a5a0211 Report negative time parts as invalid. 2013-12-13 15:06:31 -08:00
The Dax
6050b47c67 Add an ini option to set the emulated PSP's firmware. 2013-12-13 13:06:44 -05:00
Henrik Rydgard
70174ac405 Warn fix, cleanup, update buttons.svg 2013-12-12 12:08:36 +01:00
shenweip
6e56e33625 Fix wrong logging. 2013-12-12 13:16:08 +08:00
Unknown W. Brackets
ae0560a1db Ignore bad video decode addresses.
Instead of crashing, even if that's more fun.
2013-12-11 08:21:01 -08:00
Henrik Rydgård
42f5bcb263 Add ZIP icon in games browser.
This one's from Gnome, license should be OK.
2013-12-11 15:12:03 +01:00
Unknown W. Brackets
916768d938 Kill the "packagedFont" hack, correctly fixed now. 2013-12-10 23:19:25 -08:00
Unknown W. Brackets
1f32720d8f Return much more correct values for module info.
sceKernelQueryModuleInfo() was just completely wrong before.
2013-12-09 00:45:54 -08:00
Unknown W. Brackets
0636a65ad9 Use ReadEntireFile() a few more places.
This fixes one or two minor memory leaks.
2013-12-08 12:02:37 -08:00
Unknown W. Brackets
dc87cd2045 Stop reporting system param reads.
So games use it.  We'll have to decide what to do with that information,
but the reporting isn't that useful now.
2013-12-08 01:10:24 -08:00
Unknown W. Brackets
160ee740d2 Fix some vblank callback wait problems.
Stupid mistake, missing this.  May help #3680.
2013-12-05 23:26:59 -08:00
The Dax
4aa3594eb7 Fix a bunch of styling issues in sceNetAdhoc.cpp, and fix Coldbird's name (it's not "colorbird"). 2013-12-05 14:44:41 -05:00
The Dax
1326bb41c8 Fix Coldbird's name in a comment. It's not "colorbird". 2013-12-05 14:37:01 -05:00
The Dax
cf4c7a5d8c Fix bug where networking option wasn't saved to the ini file, and default to false. If it's on by default, Peace Walker and other games are broken for now. 2013-12-04 17:28:20 -05:00
Henrik Rydgård
89b3fff255 Merge pull request #4722 from pal1000/patch-1
Warning fix in Core/HLE/sceKernelModule.cpp resultBufferOffset type miss...
2013-12-04 09:22:08 -08:00
Henrik Rydgard
32f479b0a6 Assorted log spam reductions.
Also let Java know of some important events. Not used for anything yet.
2013-12-04 17:43:00 +01:00
pal1000
d03eed3e48 Warning fix in Core/HLE/sceKernelModule.cpp resultBufferOffset type missmatch 2013-12-04 17:56:33 +02:00
Henrik Rydgard
60ed75f68a Add option to disable networking, tries to replicate the old error codes.
Please test if disabling this option "fixes" any games that broke with the adhoc merge.
2013-12-04 11:07:52 +01:00
sum2012
eb5c349c2f Imp sceKernelGetModuleIdList by CPkmn 2013-12-04 06:28:32 +08:00
shenweip
ff5a5486aa Add a warn logging. 2013-12-03 22:09:01 +08:00
shenweip
1d5962f925 Typo 2013-12-03 21:40:08 +08:00
shenweip
833305817b Return success when initial networks fail. 2013-12-03 21:24:56 +08:00
Unknown W. Brackets
21c617a7be Correct some syscall names. 2013-12-02 23:40:16 -08:00
Unknown W. Brackets
e73d43c434 Correct sceKernelTlspl func names, etc.
This is mostly pedantic but it's nice to have the right names.
2013-12-02 23:40:16 -08:00
sum2012
40d9721e1f Wrap sceKernelGetModuleIdList
maybe first step of solve #2404
2013-12-03 07:35:27 +08:00
Henrik Rydgård
7c7c4aaadc Add "u_time" uniform to postprocessing shaders. 2013-12-02 17:24:55 +01:00
Unknown W. Brackets
eac8b1a84d Scan for functions even without a .text section.
It's possible this may be wrong, but every game I've seen loads the funcs
in this area.  Sometimes there's data after the funcs before the stubs,
but it's better than no funcs.
2013-12-01 19:43:40 -08:00
Unknown W. Brackets
dd2e996838 Fix some type comparison warnings. 2013-12-01 11:21:16 -08:00
Henrik Rydgård
345d362391 Merge pull request #4677 from unknownbrackets/perf
Attempt to improve audio issue in #4669
2013-11-29 09:20:41 -08:00
Unknown W. Brackets
7dedf54bc3 Always resched in thread queue rotation.
It might be time to reschedule anyway, some games call this in a loop with
an empty queue.

May help Harukanaru Toki No Naka de Hachiyoushou (#4669.)
2013-11-29 08:59:47 -08:00
Henrik Rydgård
d254fbf24f Merge pull request #4664 from thedax/modelSelectOption
Add an ini option to allow the emulated PSP model to be changed.
2013-11-29 05:22:31 -08:00
Unknown W. Brackets
435115441d Reinitialize the GE on sceKernelLoadExec().
Mostly, reset the lists and draw completion, etc.

May be required for Capcom Classic Collection Reloaded to work.
2013-11-28 15:35:12 -08:00
The Dax
85e3a2dbfb Make the model option ini-only.
Move PSP_MODEL_FAT and PSP_MODEL_SLIM to Config.h.
Default to a PSP Slim, and enable 64 megs of memory by default.
2013-11-28 14:37:10 -05:00
The Dax
5d310e6014 Add an option to allow the emulated PSP model to be changed. Some games require a PSP-2000 for features such as multiplayer. 2013-11-28 12:37:12 -05:00
Henrik Rydgard
f9f6e9492d Reorder vfpu data in saved kernel contexts when loading in a new version. 2013-11-28 13:27:51 +01:00
Henrik Rydgard
55500d4bb6 Reorder VFPU registers in memory so that we can flush and reload them in bulk more often.
Doesn't actually do that yet, that's for the NEON branch.
2013-11-28 13:27:51 +01:00
Henrik Rydgard
c83a7e0029 Parse mac addresses in one place. 2013-11-28 12:38:45 +01:00
Henrik Rydgard
ade18848f7 Warning fixes 2013-11-28 11:54:00 +01:00
Unknown W. Brackets
41a7157aa6 Eat some cycles when changing thread priority.
Some games call this a lot.
2013-11-28 01:01:22 -08:00
Unknown W. Brackets
382f3b91f4 Eat cycles and reschedule in some rtc funcs.
Reported to fix #2146.
2013-11-28 00:30:04 -08:00
Unknown W. Brackets
78ea146af6 Get rid of some unnecessary ifdefs, fix build. 2013-11-27 22:15:39 -08:00
Sacha
778eeb9968 Adhoc: Android buildfix and tab fix. 2013-11-28 16:05:11 +10:00
Henrik Rydgard
c499be9769 Merge branch 'adhoc-support' of https://github.com/Kyhel/ppsspp into Kyhel-adhoc-support
hrydgard here: I switched to our implementation of thread.h and removed the "Windows7SDK" things for now.

Conflicts:
	Core/Core.vcxproj.filters
2013-11-27 21:21:32 +01:00
Henrik Rydgård
ed13c21a37 Merge pull request #4649 from Kingcom/Debugger
Rewrite symbol table
2013-11-27 07:43:25 -08:00