Igor Calabria
13718aed6e
Changes psp ram structs to use correct int types
2013-10-30 16:10:59 +00:00
Unknown W. Brackets
1d14915d87
Fix a string pointer comparison.
2013-10-30 08:14:43 -07:00
Igor Calabria
24d2ac7c1b
Uses native mutex
2013-10-30 14:56:08 +00:00
Unknown W. Brackets
8d3ba58936
Cap the buffer size in sceAtracSetDataAndGetID().
...
Not sure if this should be done in the others or not...
2013-10-30 07:55:47 -07:00
Unknown W. Brackets
696aa0f974
Initialize atrac context values per PSP tests.
2013-10-30 07:48:50 -07:00
Unknown W. Brackets
14cff41a9a
Fix state value in atrac context with no buffer.
...
Unlikely games use this, but they could.
2013-10-30 07:48:50 -07:00
Unknown W. Brackets
31112d1fa1
Report and return errors for bad atrac data.
...
The PSP returns errors for invalid data, so we should too.
2013-10-30 07:48:49 -07:00
Unknown W. Brackets
8dcc384dba
Adjust some atrac reporting/logging.
2013-10-30 07:48:49 -07:00
Unknown W. Brackets
3e0c37bb62
Return an error when no data set yet.
...
Specifically this happens if you sceAtracGetAtracID, but don't set any
data yet. Games might check for it to load in data.
2013-10-30 07:48:48 -07:00
Unknown W. Brackets
b7bd107956
When using a bad atrac ID, return proper errors.
...
Tested each func with invalid ids.
2013-10-30 07:48:48 -07:00
Igor Calabria
ca2b0a9b9a
Uses native functions for timing
2013-10-30 14:45:32 +00:00
Unknown W. Brackets
ee57498b16
Add a setting to skip 0xDEADBEEF reg filling.
...
For debugging purposes. Can't think of a better way.
2013-10-30 07:28:52 -07:00
Unknown W. Brackets
9ebaf7b68b
Fill registers with 0xDEADBEEF after most syscalls.
...
Some, like sceMpegRingbufferPut(), we don't, since... it's complicated.
But most we do, like a real PSP does.
2013-10-30 00:47:04 -07:00
Unknown W. Brackets
04ec987448
Initialize thread regs with 0xDEADBEEF.
...
Also initialize the float regs to NaN.
2013-10-29 21:39:24 -07:00
Igor Calabria
2c484c9bee
Adds adhoc support notes on readme, and option to load server address from config
2013-10-30 00:18:06 +00:00
Igor Calabria
0bc7dee02c
Fixes time function
2013-10-29 21:39:45 +00:00
Igor Calabria
28ab767c88
Adds common sleep function, and implements ptp functions
2013-10-29 21:39:45 +00:00
Igor Calabria
cce8ad050d
Adds compability for packed structs on windows, and removes some redundant typedefs
2013-10-29 21:39:45 +00:00
Igor Calabria
ecb1411f0f
Fixes getPeerList, now it's using the correct pointer values in the struct
2013-10-29 21:39:45 +00:00
Igor Calabria
5959f5b486
Packs most of psp data structs and fixes sceNetAdhocctlGetParameter
2013-10-29 21:39:45 +00:00
Igor Calabria
47947fd3f7
adds some matching functions
2013-10-29 21:39:45 +00:00
Igor Calabria
0574e6e1d1
More functions and support for games that use the netdiag
2013-10-29 21:39:45 +00:00
Igor Calabria
553f1d4e4e
Implements a bunch of adhoc functions
2013-10-29 21:39:45 +00:00
Unknown W. Brackets
b71255e7b0
Optimize the case where volume is 0x8000.
...
When left and right volume are both 0x8000, which is the most common, we
can just do a memory copy which is faster.
Also, we can use pushPointers on big endian, probably still faster.
2013-10-29 08:24:55 -07:00
Henrik Rydgård
0e54e24b24
Revert "Use swap code from native instead. Remove all other versions of it."
...
Broke movie playback.
This reverts commit 9fcb08a326 .
Conflicts:
native
2013-10-28 17:24:03 +01:00
Sacha
72fd653a31
sceAudio: ARM optimisation.
2013-10-29 00:16:37 +10:00
Sacha
d616cc72a2
Add Blackberry statistics overlay option.
2013-10-28 14:19:27 +10:00
Sacha
ecfe43c149
CityHash is not used anymore, so we won't compile it.
2013-10-28 03:26:00 +10:00
Sacha
9fcb08a326
Use swap code from native instead. Remove all other versions of it.
2013-10-28 03:07:32 +10:00
Henrik Rydgård
ea05c934d8
Merge pull request #4320 from raven02/patch-3
...
Apply offset by 1px for our provided fonts
2013-10-27 00:58:17 -07:00
Henrik Rydgård
2132668af8
Merge pull request #4330 from unknownbrackets/volume-fix
...
Respect the bgm vol setting for at3, mp3, video
2013-10-27 00:55:25 -07:00
Unknown W. Brackets
ad8c4af936
Respect the bgm vol setting for at3, mp3, video.
2013-10-26 19:33:25 -07:00
raven02
92042e6b55
Apply offset by 1px to our provided PSP fonts
2013-10-27 10:02:13 +08:00
Unknown W. Brackets
81823d0d74
Fix a small type comparison warning.
2013-10-26 18:52:56 -07:00
Unknown W. Brackets
95c68ae1e7
Assert some unlikely buffer overflows.
2013-10-26 18:30:55 -07:00
Sacha
4c52346063
Use Blackberry/UNIX time functions instead of fallbacks.
2013-10-25 21:52:50 +10:00
Unknown W. Brackets
0b64c5e014
Savestate and shutdown sceMp3 properly.
...
It wasn't even being saved before.
2013-10-24 20:07:07 -07:00
Unknown W. Brackets
100c188df6
Fix savestate backwards compat.
...
Broken since 80702109f5 .
2013-10-24 20:01:14 -07:00
Unknown W. Brackets
453628946f
Free mp3 contexts more carefully.
2013-10-24 19:18:36 -07:00
Unknown W. Brackets
9eda1fc578
Remove code to use last mp3 handle on error.
...
It was copied from mpeg, where it was added for safety, and it shouldn't
be hit anyway.
2013-10-24 19:07:24 -07:00
Henrik Rydgård
badf33a872
Merge pull request #4286 from unknownbrackets/vtimers
...
Fix a bunch of issues in vtimers
2013-10-24 11:32:13 -07:00
Unknown W. Brackets
4803dfdce1
Use CoreTiming::GetGlobalTimeUs() for vtimers.
2013-10-24 01:10:46 -07:00
Unknown W. Brackets
9c874c754e
Use the us based time for rtc/etc.
...
Instead of incorrect conversions from ticks based on current mhz.
2013-10-24 01:10:09 -07:00
Henrik Rydgard
a790c0a723
SasAudio: Add some comments about reverb, and add the reverb type list
2013-10-23 22:59:42 +02:00
Unknown W. Brackets
05f2f53358
The vtimer return value is treated as u32.
2013-10-22 22:50:52 -07:00
Henrik Rydgard
1595ac3386
Log spam reduction - only WARN about non-zero bad handles, and sceAtracSetLoopNum gets demoted to DEBUG.
2013-10-22 19:56:05 +02:00
Unknown W. Brackets
580d4436a3
Fix vtimer uid param type, add algorithm include.
2013-10-22 07:46:33 -07:00
Unknown W. Brackets
47714d4b82
Don't change the vtimer schedule with no handler.
2013-10-22 07:45:53 -07:00
Unknown W. Brackets
0a373b08b7
Return better vtimer errors within interrupts.
2013-10-22 07:45:53 -07:00
Unknown W. Brackets
b7fd768ecc
Correct vtimer scheduling.
2013-10-22 07:45:52 -07:00