Commit graph

1870 commits

Author SHA1 Message Date
oioitff
2432101216 Start looping if there is not enough samples.
Fix noise in some looping bgm.
2013-06-22 21:25:08 +08:00
Unknown W. Brackets
8fe9620350 Always use iButtonPreference, fixes #2390. 2013-06-21 17:45:39 -07:00
Henrik Rydgård
266ce888f2 Fix to buttonpreference 2013-06-21 10:02:57 +02:00
Henrik Rydgard
4bb9e32f03 Atrac3: Bail on bad data 2013-06-21 01:01:28 +02:00
Henrik Rydgard
27f8f6a2f5 Logging reduction 2013-06-20 21:57:09 +02:00
Henrik Rydgård
1fe20cb320 Merge pull request #2353 from raven02/patch-4
Toggle to adjust VPS/FPS/Both and new "Cleanup Recents" button
2013-06-20 12:23:35 -07:00
Sacha
a4bdd4bfc4 Clean up RE code in sceChnnlsv.{cpp,h} 2013-06-21 04:23:34 +10:00
Unknown W. Brackets
2863e74e52 For now, ignore duplicate sceMpegInit()/Finish()'s.
Need to properly handle module unload for this to work right.

Fixes #2364.
2013-06-20 01:53:07 -07:00
Unknown W. Brackets
362c5be657 Tweak the ctrl analog rounding to be safer. 2013-06-20 01:11:45 -07:00
Unknown W. Brackets
250260cccd Fix sceCtrl analog range for all input devices.
It should map (-1.0... 0.0... 1.0) to (0... 128... 255.)  However, it was
instead being mapped to (1... 128... 255.)  This was causing games to not
respect analog movement if they checked for 100%.

Fixes #2363.
2013-06-20 01:00:53 -07:00
The Dax
b989292c7c Fix typo in __UpdateAdhocctlHandlers and remove stray carriage return. 2013-06-20 03:20:10 -04:00
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
raven02
de4d970ab6 Toggle to adjust VPS/FPS/Both , new timeFormat/dateFormat/buttonPerference 2013-06-19 15:09:01 +08: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