Lioncash
b52ee53c98
Fix some signed/unsigned mismatch warnings in __sceAudio.cpp.
2013-06-25 09:54:42 -04:00
Lioncash
b823bb7543
Change PSPPointer function name Valid to IsValid.
...
Improves readability and shows intent better.
2013-06-25 09:51:39 -04:00
Henrik Rydgård
af9b1bcacd
Merge pull request #2431 from unknownbrackets/io-rename
...
sceIoRename() ignores any path on dest
2013-06-24 13:48:54 -07:00
Henrik Rydgard
5297b6274d
Add a stub impl of the last scePsmf function
2013-06-24 18:58:54 +02:00
oioitff
fa4ad234a1
Use ERROR_LOG for error messages instead.
2013-06-25 00:16:55 +08:00
oioitff
1e4d896980
Implement scePsmfPlayerSetPsmfOffset and
...
scePsmfPlayerSetPsmfOffsetCB. And use memory buffer for PsmfPlayer
directly instead.
2013-06-25 00:16:51 +08:00
oioitff
7bde93d534
Fix corrupted frames and implement savestate
...
for mpeg.
2013-06-25 00:16:42 +08:00
oioitff
c970a7e689
Use ringbuffer as a real PSP instead huge buffer.
2013-06-25 00:16:38 +08:00
Sacha
953569a38f
Linux buildfix.
2013-06-24 15:25:26 +10:00
Unknown W. Brackets
c8ee2c0739
sceIoRename() ignores any path on dest.
...
Also, change the interface so it can return an error code. Currently not
returning perfect error codes but it's better than before.
2013-06-23 20:09:44 -07:00
Henrik Rydgard
30ed5110e5
Possible iOS build fix, see #2418
2013-06-23 18:01:11 +02:00
oioitff and Henrik Rydgard
ffc3db1429
Bug fix for sceMp3, make sceMp3 work fine. (dunno why this didn't merge before)
...
Conflicts:
Core/HLE/sceMp3.cpp
2013-06-23 16:07:37 +02:00
173210
3fc397c590
Added scePowerGetBatteryTemp support
...
It returns 0 celsius degrees
2013-06-23 16:52:41 +09:00
Unknown W. Brackets
d37e224f5c
Allow multiple HI16's in a row.
...
The God Eater demo does in fact use these. Ugh.
2013-06-22 12:44:25 -07:00
Unknown W. Brackets
1f0d87afd9
Allow multiple LO16s after a HI16 in var relocs.
...
The God Eater demo uses these sometimes, and it should be safe if the
addresses match or at least overflow to the HI16 the same.
2013-06-22 11:59:35 -07:00
Henrik Rydgård
25e8041076
Merge pull request #2401 from unknownbrackets/mpeg-minor
...
Eat cycles in sceMpegRingbufferAvailableSize() and cut down memcpy()
2013-06-22 09:55:41 -07:00
Henrik Rydgard
4eb1638cc3
Merge remote-tracking branch 'origin' into mp3-support
...
Conflicts:
Core/HLE/sceAudio.cpp
Core/HLE/sceMp3.cpp
2013-06-22 18:08:43 +02:00
Unknown W. Brackets
0b4e93a671
Clean up sceMpegRingbufferAvailableSize().
...
Avoid a memory copy, some crash checks.
2013-06-22 08:39:25 -07:00
Unknown W. Brackets
ca78dd4e6d
Eat cycles in sceMpegRingbufferAvailableSize().
...
Some games call this in a loop, so it affects perf. And, this eats quite
a few cycles, implying it does a lot more work than I thought it did.
2013-06-22 08:36:31 -07:00
Henrik Rydgård
83c17994f9
Merge pull request #2397 from oioitff/atrac-fix
...
Start looping if there is not enough samples.
2013-06-22 07:33:40 -07:00
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