Commit Graph
14759 Commits
Author SHA1 Message Date
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 6686849d35 sceNet stubs
Added from MGS peace walker
2012-12-13 11:40:53 +00:00
TMaul 8cc95d5640 sceUtil Cleanup
Some of these methods need implementing for some of the games though
2012-12-13 11:40:52 +00:00
TMaul 1c15b70277 Various Cleanups
Make some sceFont functions fill in (fake) error codes

sceGeListSync seems to want a return value (fat princess, others)

Another missing sceKernelModule method (killzone)
2012-12-13 11:40:50 +00:00
Sacha a1781b854a Symbian support for project.
New UNUSABLE_MMAP code path for platforms that cannot use the required flags (Xbox 360, Symbian). Falls back to malloc() instead.
N1 define for compilers (GCCE) that don't like to assume (int)-1 will safely cast to (char)-1.
Miscellaneous space->tab fixes.
2012-12-13 13:15:20 +10:00
Unknown W. Brackets c08a2ba00b Make sceIoLseek() correctly return 64-bit. 2012-12-11 22:57:05 -08:00
Henrik Rydgård e0f9fd52e4 Merge pull request #170 from tmaul/master
sceKernelStartModule return value change
2012-12-11 15:49:43 -08:00
TMaul 11156fe288 sceKernelStartModule return value change
Debatable if its a worthy change as its not a proper fix but gets
persona 3 further with media engine enabled.
2012-12-11 23:24:01 +00:00
Xele02 c079bbf776 Add missing CloseFile 2012-12-11 17:41:17 +01:00
Henrik Rydgård 2b448bdcad Merge branch 'fileutil' of https://github.com/unknownbrackets/ppsspp into unknownbrackets-fileutil
Conflicts:
	Core/Dialog/SavedataParam.cpp
2012-12-11 16:54:13 +07:00
Henrik Rydgård f977b13ddb Merge pull request #166 from Xele02/master
Save System
2012-12-11 01:39:50 -08:00
Unknown W. Brackets 7b52eee4cc Fix some doubled up slashes. 2012-12-10 23:30:48 -08:00
Xele02 f5801916c7 * Correct Autoload / Autosave problem
* WIP Save function 8 and 11
2012-12-11 03:09:52 +01:00
Unknown W. Brackets c55ee023e1 Add project Dialog filter, suppress some warnings. 2012-12-10 08:21:05 -08:00
Xele02 9b2939d5a4 Merge remote-tracking branch 'upstream/master' 2012-12-10 16:46:17 +01:00
Henrik Rydgård c3643077f8 Merge pull request #162 from Darth1701/master
Fix for build error
2012-12-10 06:32:20 -08:00
Darth1701 093d35ab3c Update Core/Core.vcxproj.filters 2012-12-10 15:29:14 +01:00
Henrik Rydgård 8782b2aec7 Quickfix issue 160 and fix a trigraph warning 2012-12-10 21:28:20 +07:00
Darth1701 d263f14f9c Update Core/Core.vcxproj 2012-12-10 15:26:14 +01:00
Xele02 634a696fbe Remove debug log 2012-12-10 13:16:00 +01:00
Xele02 f633e2d9b5 Merge branch 'work' 2012-12-10 13:12:26 +01:00
Xele02 7de10d223b * Create class for Save and Message dialog for cleaner code.
* Update Save dialog to work more like the real one on PSP
* Correct some return value for Save Dialog.
2012-12-10 13:08:54 +01:00
Henrik Rydgård 32d80e9210 Merge pull request #158 from unknownbrackets/audio-minor
Some quick audio tweaks
2012-12-10 01:00:52 -08:00
Unknown W. Brackets bd1db90f9a Add crash checking to sceSasSetPause().
Brings back Mimana working.
2012-12-10 00:09:56 -08:00
Henrik Rydgård f6387dce47 Merge pull request #157 from unknownbrackets/umd-fixes
Correct UMD stuff based on callback cleanup
2012-12-09 23:14:10 -08:00
Henrik Rydgård 502aa45ed6 Merge pull request #156 from unknownbrackets/scheduling2
Fix some more problems with scheduling / callbacks
2012-12-09 23:13:41 -08:00
Unknown W. Brackets 955247b939 Minor opt: skip the deferred resched in idle.
This will probably be called most the frequently, e.g. to switch
between idle0 and idle1.
2012-12-09 22:50:57 -08:00
Unknown W. Brackets 36fb1a8392 Don't resume sleeping/etc. threads after cbs.
This could happen in a few cases, including the cb affecting its
own wait status.
2012-12-09 21:40:03 -08:00
Unknown W. Brackets a218dcc0f0 Ignore deleted callbacks early in the chain.
This also ensures they won't prevent future callbacks from running.
2012-12-09 21:39:56 -08:00
Unknown W. Brackets b02224615f Run all pending callbacks in a row before resume.
Tested with multiple callbacks.
2012-12-09 21:39:48 -08:00
Unknown W. Brackets bd7a9bab3e Correct UMD stuff based on callback cleanup.
Also, my tests got better because I learned how to test callbacks
better, so some of my mistaken assumptions from before are corrected.
2012-12-09 21:38:05 -08:00
Henrik Rydgård 53b8c9a611 Merge pull request #154 from unknownbrackets/scheduling
Copy the resched reason in case on stack
2012-12-09 20:20:41 -08:00
Unknown W. Brackets 7281456119 Return 0 in sceAtracReinit() to make games happier.
This makes Numblast get a bit farther.
2012-12-09 17:57:35 -08:00
Unknown W. Brackets e6e9ed1f45 Fix no return value in sceKernelDeleteThread().
Still need to test these funcs thoroughly.
2012-12-09 16:57:52 -08:00
Unknown W. Brackets a1a4a02759 While running callbacks, defer wait info.
This way if a thread is resumed while running callbacks, it'll
actually resume.
2012-12-09 16:56:47 -08:00
TMaul b7b40ba6d6 Make the flash filesystem a real directory
Not really needed yet, but it will be.
2012-12-09 23:32:44 +00:00
Unknown W. Brackets e150cc5c03 Correct skipped parameter for deferred resched.
Forgot to check callbacks, oops.
2012-12-09 15:08:44 -08:00
TMaul f33adf5341 Clean up sceIoIoctl log message 2012-12-09 22:07:23 +00:00
TMaul bbdeef5115 Fix some tabs in sceKernel.cpp 2012-12-09 20:49:16 +00:00
TMaul 7f5fd15c6b Fake some more font functions
Too many games crap out if the structs and the error codes are not set
to something sensible. Also, I've tried setting the glyph buffer to grey
to get something displaying, although it doesn't seem to work in
anything so far.
2012-12-09 20:37:33 +00:00
TMaul 8bb756bcef Clean up sceKernelLoadModuleByID params
Might still be a bit wrong though.
2012-12-09 18:48:30 +00:00
TMaul 14b1e68f6c Adjust fake font size
Seems to make a few games happier.

Also make it output the characters to the log
2012-12-09 18:48:29 +00:00
TMaul b8f125bf7d sceRtcGetTime_t is also 32bit
and is seconds from 1970
2012-12-09 18:48:29 +00:00
TMaul 6c91fc53f2 Start of sceFont Wrapping and stubbing 2012-12-09 18:48:29 +00:00
TMaul 87af452e68 Stub sceIoIoctl
Just to see what games are calling
2012-12-09 18:48:28 +00:00
TMaul ff69c53710 sceKernelGetModuleIdByAddress update
sceKernelGetModuleIdByAddress will now look in the loaded modules and
find the one with the correct entry address. Makes no difference to any
games i've noticed so left marked as hack just in case it's wrong.
2012-12-09 18:48:28 +00:00
Xele02 41fed02c0e Add Save Delete and Delete List function 2012-12-09 19:33:18 +01:00
Unknown W. Brackets cf9b5744bb Copy the resched reason in case on stack.
Was getting lost and becoming garbage.
2012-12-09 09:13:32 -08:00
Xele02 63b0b61232 Change filesystem for mounted memory card
Clean some code and comment
2012-12-09 16:59:07 +01:00