Commit graph

1703 commits

Author SHA1 Message Date
The Dax
c5dfccd55d Implement more sceNet and sceHttp stubs.
List includes:
sceNetApctlAddHandler
sceNetApctlDelHandler
sceNetApctlInit
sceNetApctlTerm
sceNetInetInit
sceNetInetTerm
sceHttpInit
sceHttpEnd
2013-06-20 03:15:07 -04:00
Henrik Rydgård
bfb9b2fd6d Warning fix 2013-06-19 15:06:04 +02:00
Henrik Rydgard
c021c93883 More minor audio optimizations 2013-06-19 13:13:02 +02:00
Henrik Rydgard
7dac11922d Some minor optimization of audio channel queues and mixing 2013-06-19 12:00:24 +02:00
Henrik Rydgård
07a6242bfe Merge pull request #2354 from unknownbrackets/kernel-objects
Check kernel object types when looking up ids
2013-06-19 00:26:38 -07:00
Unknown W. Brackets
ee2a99adee Correctly read 48-bit pts in scePsmf as well.
Attempt to fix #2347.
2013-06-18 23:58:52 -07:00
Unknown W. Brackets
933c8abb55 Check kernel object types when looking up ids.
Some games misuse it, need to return an error.
2013-06-18 23:54:29 -07:00
Henrik Rydgård
c70c164da9 Merge pull request #2338 from oioitff/atrac-fix
Bug fix for sceAtrac.
2013-06-18 00:20:25 -07:00
Henrik Rydgård
0534eaf30e Merge pull request #2336 from thedax/sceNetStubsCrashFix
Rewrite some of the sceNetAdhocctlAddHandler/DelHandler code
2013-06-18 00:19:59 -07:00
oioitff
7adb16e3ac Bug fix for sceAtrac. 2013-06-18 13:55:45 +08:00
The Dax
cf790de2ce Switch handlers from std::vector to std::map, add a max handler count, and return an error if too many handlers exist. 2013-06-17 23:37:36 -04:00
The Dax
48498656ea Fix possible savestate/shutdown issue. 2013-06-17 19:55:43 -04:00
Henrik Rydgård
b5218d78e2 Merge pull request #2331 from thedax/sceNetStubs
Add support for multiple sceNetAdhocctl handlers
2013-06-17 16:35:35 -07:00
The Dax
b5a2c0d8c1 Fix style error. 2013-06-17 19:27:59 -04:00
The Dax
196d1dbf46 Remove unnecessary include. 2013-06-17 19:03:56 -04:00
The Dax
f0072380aa Fix handler reschedule. Pretty sure these should reschedule after being executed. 2013-06-17 18:56:52 -04:00
The Dax
4d3cd4d235 Add support for multiple adhocctl handlers, and clean up how we call them slightly. 2013-06-17 18:50:38 -04:00
Henrik Rydgard
806fadb1c0 logging tweak 2013-06-17 22:05:47 +02:00
The Dax
f5af0bbc54 Fix hang in Pangya, again. 2013-06-17 08:52:38 -04:00
The Dax
8621b0e637 Fix some more styling issues. 2013-06-17 08:43:29 -04:00
The Dax
35f1115191 Fix compilation error. 2013-06-17 08:32:13 -04:00
The Dax
2c2d3e5362 Fix possible crashes and some spacing errors. 2013-06-17 08:15:43 -04:00
The Dax
9bb96a63f5 Implement more sceNetStubs. Should fix most games that hang when messing with WLAN/Adhoc(not infrastructure) stuff. Also make the code style closer to the Dolphin/PPSSPP guidelines. 2013-06-17 08:04:31 -04:00
Unknown W. Brackets
6ff9cf64ca Measure flips per second. 2013-06-17 00:20:27 -07:00
Unknown W. Brackets
9683e021ea Fix return on atrac release, fix deinit/reinit. 2013-06-16 22:28:03 -07:00
Unknown W. Brackets
ea299e358d Oops, dumb typo. 2013-06-16 22:18:17 -07:00
Unknown W. Brackets
d6de868108 Correctly savestate the atrac ids. 2013-06-16 20:03:09 -07:00
Unknown W. Brackets
b4269bce53 Implement sceAtracReinit(), reuse atracIDs.
The same way tests show the PSP does.  Fixes Ridge Racer mini loading
game when you try to play too long.
2013-06-16 19:05:10 -07:00
Unknown W. Brackets
25bba708e1 Make it so createAtrac() can return an error.
It doesn't yet, but if it's out of IDs, it should.
2013-06-16 18:42:41 -07:00
Unknown W. Brackets
2bc3da5b94 Return fds in the range 0 - 64 like the PSP.
Some games appear to check ids are valid specifically by checking this
range.  Reproduced on a PSP.
2013-06-16 10:07:49 -07:00
Unknown W. Brackets
c1ed09949d Initial impl of sceIoGetFdList(). 2013-06-16 09:11:19 -07:00
Unknown W. Brackets
2d769384e4 sceKernelLoadExec(.../BOOT.BIN) loads EBOOT.BIN.
Fixes #2289, crash when pressing R+L+Start+Select in Final Fantasy 3.
2013-06-15 21:30:48 -07:00
Unknown W. Brackets
2ab16f13b1 If __KernelLoadExec() fails, halt emulation.
Otherwise, we have no current thread, nothing can work.
2013-06-15 21:22:28 -07:00
Henrik Rydgård
22a2a03a9d Merge pull request #2280 from oioitff/mpeg-fix
Bug fix for scepsmf.
2013-06-15 12:45:16 -07:00
oioitff
00e6873a30 Bug fix for scepsmf. 2013-06-16 01:35:47 +08:00
Henrik Rydgård
180adb32d3 Merge pull request #2267 from unknownbrackets/thread-funcs
Return correct errors in sceKernelDeleteThread()
2013-06-15 00:11:19 -07:00
Henrik Rydgård
54140043a2 Merge pull request #2266 from unknownbrackets/atrac-fix
Ignore/fail on bad seeks for atrac3 audio
2013-06-15 00:10:59 -07:00
Unknown W. Brackets
1e805e7fc8 Return correct errors in sceKernelDeleteThread().
And also, don't reschedule in sceKernelTerminateDeleteThread(), per tests.
2013-06-15 00:05:21 -07:00
Unknown W. Brackets
7531e50d27 Ignore/fail on bad seeks for atrac3 audio.
This was happening in Disgaea, and causing it to crash.
2013-06-14 23:26:31 -07:00
oioitff
f2af925015 fix wrong video/audio stream channel. 2013-06-15 01:42:19 +08:00
oioitff
94bc8d0cd6 Implement scePsmfGetNumberOfSpecificStreams. 2013-06-15 01:39:56 +08:00
Unknown W. Brackets
e36da8b49f Clean up scePsmfPlayer logging.
Move a bunch of things from errors.
2013-06-13 22:33:59 -07:00
Unknown W. Brackets
1af3ef0880 Clean up scePsmf logging. 2013-06-13 22:21:39 -07:00
Unknown W. Brackets
5b17005e31 Correct result of scePsmfGetVideoInfo(). 2013-06-13 22:12:16 -07:00
raven02
9b164958a2 Change to DEBUG_LOG 2013-06-14 07:19:52 +08:00
raven02
0bb7462e2d Implement scePsmfVerifyPsmf 2013-06-14 07:15:57 +08:00
oioitff
09d5a404e2 Both video/audio timestamp seem to start from firstTimeStamp in sceMpeg.
Fix video playback for Castlevania Dracula X Chronicles.
2013-06-13 21:03:17 +08:00
Unknown W. Brackets
8b4b4a6b8c Use the 1 bit in sceSasRevVON() and cleanup.
Not used yet anyway.
2013-06-12 07:59:54 -07:00
Unknown W. Brackets
8e7c5be2e0 Don't return errors in sceSasSetPause().
-1 is perfectly valid, we just need to not infinite loop in that case by
using a logical shift not an arithmetic one.
2013-06-12 07:56:53 -07:00
Henrik Rydgård
486f88e390 Merge pull request #2230 from oioitff/atrac-fix
Use a hack method to release already finished atrac3 voice.
2013-06-12 06:47:21 -07:00