Unknown W. Brackets
94ba05eba1
Add another memset replacement.
2015-01-18 21:27:05 -08:00
Unknown W. Brackets
1383c0e200
Replace memmove() from Star Ocean 1 (US).
2015-01-18 21:26:39 -08:00
Unknown W. Brackets
bc354f5564
Notate region on some replacements.
2015-01-18 21:26:38 -08:00
Unknown W. Brackets
b5837564c6
Hook memmove() found in Final Fantasy Tactics.
...
Probably will be seen in other games too.
2015-01-18 21:26:38 -08:00
Unknown W. Brackets
909478fb83
Handle disabled replacments in interp, oops.
2015-01-18 21:26:37 -08:00
Unknown W. Brackets
9cb1151b67
x86jit: Disable replacements w/ breakpoints inside.
...
This does alter graphics (memcpys won't fire anymore), but it also means
breakpoints work which is nice.
2015-01-18 21:26:37 -08:00
daniel229
f29adce3b5
Replace memset in Final FantasyTactics (jpn)
2015-01-19 09:13:59 +08:00
Unknown W. Brackets
daa90024ed
Defer opening audio codec 'til we have block size.
...
May fix issues with newer versions of FFmpeg (#5772.)
2015-01-18 12:59:26 -08:00
Henrik Rydgård
6cd0cce860
Merge pull request #7344 from unknownbrackets/atrac-parsing
...
Improve atrac RIFF parsing
2015-01-18 19:49:37 +01:00
Unknown W. Brackets
6382d794a7
Fix a debugger leak in an error case.
2015-01-17 18:54:01 -08:00
Unknown W. Brackets
dcf54ec8a0
armjit: Burn less hard without a quad mapping.
2015-01-17 18:48:50 -08:00
Unknown W. Brackets
d5c7fb3f0e
Avoid an out of bounds mem access.
2015-01-17 18:43:03 -08:00
Unknown W. Brackets
d497bc7c8c
Ensure safe zim access regardless of file contents.
2015-01-17 18:43:00 -08:00
Unknown W. Brackets
a191b9ac7f
Fix a potentially not null terminated string.
2015-01-17 18:42:59 -08:00
Unknown W. Brackets
0dc3e4e2db
x86jit: Handle unable to spill better.
...
Might as well check the result to be safe.
2015-01-17 18:42:58 -08:00
Unknown W. Brackets
c0a04cbf7e
armjit: Fix first temp vreg offset.
...
Wonder what havoc this could've caused....
2015-01-17 18:21:04 -08:00
Unknown W. Brackets
ff59cd6e11
Fix a potential debug buffer overrun.
2015-01-17 18:21:03 -08:00
Unknown W. Brackets
e40bef6f17
Fix Mbx callback begin/end funcs.
...
Oops, bad WAITTYPE. May help #7345 .
2015-01-17 18:15:32 -08:00
Unknown W. Brackets
6777dcd0cc
Validate the fmt chunk size more correctly.
2015-01-17 16:35:25 -08:00
Unknown W. Brackets
7b29c645ba
Correct parsing of the atrac RIFF fmt chunk.
...
It's just a standard fmt with extra data. We were reading the block align
incorrectly.
Also, set the block align to help FFmpeg.
2015-01-17 15:47:36 -08:00
Unknown W. Brackets
5687f10801
Improve atrac file parsing.
...
Seems like it is willing to parse multiple RIFF chunks. This may generate
more accurate errors, at least they match tests better.
2015-01-17 15:25:11 -08:00
daniel229
0bd6d74996
Replace frame download in Utawarerumono portable
2015-01-14 17:27:14 +08:00
Henrik Rydgard
8b05e7abf0
Adjust the audio speed on non-60hz Android devices to compensate.
...
Greatly improves audio stability on Nexus S.
Fixes #6677 .
2015-01-14 00:45:12 +01:00
sum2012
f659e60c8d
Fix Yu-Gi-Oh 6 crash with edit card in Android version
...
This revert part of
74d8a9bdba
2015-01-13 22:01:02 +08:00
daniel229
c4d4aaab11
Replace frame download in MotorStorm: Arctic Edge
2015-01-13 15:42:25 +08:00
Henrik Rydgård
7c3bc2b3d2
Merge pull request #7313 from sum2012/network
...
Make "Network Initialized" translatable
2015-01-12 13:07:05 +01:00
Unknown W. Brackets
50f5809c54
Oops, typo.
...
How did I not notice the distorted sound?
2015-01-11 16:49:22 -08:00
Unknown W. Brackets
4705a2568e
Convert s16->float using SSE2.
2015-01-11 14:31:21 -08:00
Unknown W. Brackets
f3654795a3
Minor warning fixes.
2015-01-11 14:23:42 -08:00
Unknown W. Brackets
db898aff23
Add a NEON method to apply the volume.
2015-01-11 14:23:41 -08:00
Unknown W. Brackets
ff4db2a8dd
Log any change to 48 kHz audio on the psp side.
2015-01-11 14:23:41 -08:00
Henrik Rydgard
26e4cb4a21
More cleanup
2015-01-11 20:35:52 +01:00
Henrik Rydgard
0c6ceee210
Optimize the resampler a little. Update native with new ability to not force 44khz so we actually get any use.
...
This causes Nexus 4 and Nexus 9 to end up on the fast path, greatly decreasing audio latency!
This also removes the "atomic audio" setting as the new audio code is lock-free always.
2015-01-11 18:06:42 +01:00
Henrik Rydgard
1b926ec59e
Increase the resampler buffer size, needed on Shield :(
...
Reset DSound to 44100.
2015-01-11 18:06:39 +01:00
Henrik Rydgard
c4169313b7
Resampler: Remove volume handling
2015-01-11 18:06:12 +01:00
Henrik Rydgard
e312d6b5fd
Replace outAudioQueue with Dolphin's resampler.
2015-01-11 18:06:06 +01:00
Henrik Rydgard
62d86f3246
Remove useless indirection class "PSPMixer"
2015-01-11 12:02:49 +01:00
sum2012
499e6c6b7f
Make "Network Initialized" translatable
2015-01-11 11:55:25 +08:00
Henrik Rydgard
a154dc4b1b
Reduce some code duplication
2015-01-11 01:10:47 +01:00
Henrik Rydgard
bc3fb79fa2
If multithreading isn't enabled, don't bother synchronizing the ThreadEventQueue.
2015-01-11 00:45:57 +01:00
Henrik Rydgard
222802524c
Oops
2015-01-11 00:35:43 +01:00
Henrik Rydgard
604abe933e
Update submodules, add x64Emitter bugfix from Dolphin (plus a few new instrs), misc
2015-01-11 00:12:32 +01:00
Unknown W. Brackets
59b1027f3e
Merge pull request #7311 from Bigpet/master
...
cwcheat: log a warning trying to skip past the end
2015-01-10 14:25:35 -08:00
Peter Tissen
101287c8c2
Instead of crashing log a warning when trying to skip more codes than are available
2015-01-10 22:56:27 +01:00
Unknown W. Brackets
1b7ee8c269
Allocate less in sceKernelLoadModuleByID w/ offset.
...
Though, this may still be too much? I wonder if it parses to figure the
size or anything.
2015-01-10 08:36:12 -08:00
Henrik Rydgård
0ef589165b
Merge pull request #7304 from unknownbrackets/io-minor
...
Fix reads starting outside of files on isos
2015-01-10 12:45:32 +01:00
Henrik Rydgård
73e7bd81d6
Merge pull request #7307 from unknownbrackets/jit-minor
...
Add flags for VFPUCC affecting instructions
2015-01-10 12:44:26 +01:00
Unknown W. Brackets
0f920d9b43
Add flags for VFPUCC affecting instructions.
...
This may fix possible bugs in clobber as well as help spill. Could also
affect nice delay slots?
2015-01-10 02:02:39 -08:00
Unknown W. Brackets
57f40589b2
Fix reads starting outside of files on isos.
2015-01-09 18:34:41 -08:00
Henrik Rydgård
b6a9722761
Merge pull request #7303 from unknownbrackets/io-minor
...
Report any attempt to read a negative size
2015-01-10 01:43:57 +01:00
Unknown W. Brackets
1cefac6473
Clean up some different clamping.
...
Could be cleaned up more but at least this is less weird.
2015-01-09 15:59:39 -08:00
Unknown W. Brackets
52288f5905
Report any attempt to read a negative size.
...
If this should return an error, that should be handled in sceIo.
2015-01-09 15:50:06 -08:00
daniel229
e2b52b38d7
Replace frame download in Flowers
2015-01-09 14:36:48 +08:00
daniel229
c59ad888a1
Another replace frame download in To Heart 2 Portable
2015-01-09 14:34:03 +08:00
Unknown W. Brackets
a27be3887e
x86jit: Handle overlap better in simd vtfm.
2015-01-07 18:10:53 -08:00
Henrik Rydgård
bb1d571493
Merge pull request #7261 from hilesaz/master
...
Fix simd vmmul transpose optimizations.
2015-01-06 11:59:14 +01:00
Henrik Rydgård
d4f9a6d7c6
Merge pull request #7283 from daniel229/some_func_replacement
...
Some function replacements in some games
2015-01-06 11:58:43 +01:00
daniel229
6ff5084b8b
Update as unknownbrackets' suggestion.
2015-01-06 17:37:33 +08:00
daniel229
f0b6826d67
Replace frame download in To Heart 2 Portable
2015-01-06 15:22:44 +08:00
daniel229
be8f9f50e4
Replace frame download in Kokoro Connect Yochi Random
2015-01-06 15:13:53 +08:00
daniel229
f288cd04a9
Replace frame download in Grisaia no Kajitsu La Fruit de la Grisaia
2015-01-06 15:05:30 +08:00
daniel229
c5aafb3be4
Replace frame download in Sangoku Koi Senki Otome no Heihou
2015-01-06 14:48:56 +08:00
daniel229
923f398d0d
Replace frame download in Amatsumi Sora ni Kumo no Hatate ni
2015-01-06 14:39:06 +08:00
Unknown W. Brackets
c4c581000f
Report up to 9GB free on the memory stick.
...
This works around a bug in a Harry Potter game that happens on real
hardware. Thanks to gdmk02 for a lot of testing.
Unfortunately, it'll still fail with certain amounts of free space, but it
does this on a real PSP also.
2015-01-05 22:38:47 -08:00
daniel229
daa145d282
Replace frame download in Kud Wafter
2015-01-06 14:30:45 +08:00
daniel229
a66423dfa3
Replace frame download in "Rewrite Portable"
2015-01-06 14:19:36 +08:00
Unknown W. Brackets
61d43f1616
Fix some glitches in the new AA3 handling.
...
Matches a test better.
2015-01-04 16:34:58 -08:00
Unknown W. Brackets
23893ffba8
x86jit: Fix crash in prefixes and simd enabled.
2015-01-04 15:50:12 -08:00
Henrik Rydgard
f188737a86
Just to investigate #7269 , skip the version check on ARMEABI (very old ARM)
2015-01-04 23:45:30 +01:00
Henrik Rydgard
90376267b1
More reg number asserts
2015-01-04 23:15:33 +01:00
Henrik Rydgard
fe63a15e22
x86jit fpu regcache: Add extra invariant check for too-large mips register numbers
2015-01-04 22:54:01 +01:00
Henrik Rydgård
82c6079f1f
Merge pull request #7275 from unknownbrackets/atrac-aa3
...
Correct sceAtracSetAA3*() handling
2015-01-04 22:21:28 +01:00
Unknown W. Brackets
585d0d3a56
Update armips.
2015-01-04 13:04:30 -08:00
Unknown W. Brackets
db5af4f838
Correct sceAtracSetAA3*() handling.
...
This is used to send OMA / AA3 files, which have a different format.
Couldn't have been working before, may not work correctly still.
2015-01-04 12:56:28 -08:00
Henrik Rydgård
7b2f05d0a0
Merge pull request #7270 from Bigpet/adhocthread
...
don't use Thread* to create thread
2015-01-04 20:34:19 +01:00
Peter Tissen
a7d9370a69
don't use Thread* to create thread
...
slightly less hacky, as in, a little bit closer to what the actual PSP does, although the timings are still complete guesses
also
* Protect the adhoc Events by a mutex lock
* don't use emplace_back since symbian doesn't compile with it
2015-01-04 18:58:42 +01:00
Henrik Rydgard
a5d961b8d7
Clean up some compiler warnings in adhoc code
2015-01-04 14:09:41 +01:00
Henrik Rydgard
d479fae481
Show some major networking errors on the OSD
2015-01-04 13:04:11 +01:00
Henrik Rydgard
101fe5c481
Don't launch the friend finder thread if the adhoc network init fails.
...
Adds a flag for network success but doesn't check it anywhere yet..
2015-01-04 13:04:10 +01:00
Henrik Rydgard
58238bc7ed
GCC buildfix
2015-01-04 13:04:10 +01:00
sum2012
9933ae0c6e
netAdhocctlInited should be true when return success
...
Update back new file
Windows (?) build fix
2015-01-04 13:04:09 +01:00
Bigpet
43b3707ee6
don't initialize adhoc connection when networking is disabled
2015-01-04 13:04:08 +01:00
sum2012
ee6f6d11fc
Move Kill AdhocServer Thread to __NetAdhocShutdown
2015-01-04 13:04:08 +01:00
sum2012
aa69489aaf
Move built-in AdhocServer Thread to __NetAdhocInit
...
There are games (ie. Naruto Kizuna Drive) who tried to initialize
network/connect to adhoc server early when the game started, if adhoc
server wasn't ready the player may need to restart the game in order to
connect successfully
2015-01-04 13:04:07 +01:00
sum2012
6ed15ab1f5
Add EnableWlan check
2015-01-04 13:04:06 +01:00
sum2012
21f3d0ecf2
Add built-in AdhocServer option
2015-01-04 13:04:06 +01:00
sum2012
589cf551a0
Revert "Fixed an issue when MipsCall executed on any random thread instead of it's own thread causing some registers to be corrupted and leading to invalid address access"
...
This reverts commit 8a65d73ad25ad0f35b02f0e3af84de37625550b0.
2015-01-04 13:04:05 +01:00
sum2012
accda25ce0
Travis CI Fix, typo
2015-01-04 13:04:05 +01:00
AdamN
1b8167f9df
Changing the socket order checking in AdhocPollSocket a little bit
...
PS: The way how ppsspp indexing the socket may need to be changed to prevent PDP and PTP socket having the possibility to use the same socket id
2015-01-04 13:04:04 +01:00
AdamN
1a61bbbdf2
Adding socket error checking on AdhocServer
2015-01-04 13:04:04 +01:00
sum2012
e0a6480223
Move database.db to Tools\PSP game data
2015-01-04 13:04:03 +01:00
sum2012
7c323f8571
Another build fix
2015-01-04 13:04:03 +01:00
AdamN
1c7152db3a
Adding Branch opcode to the MAKE_MIPS
...
Temp revert old version to fix conflict; Implementing built-in PRO Adhoc Server; Add back sceUsbGps
Implementing more Adhoc functions, and some bug fix (i don't remember them anymore)
2015-01-04 13:04:02 +01:00
AdamN
3dc6eed05b
Giving access to some Kernel functions in order to execute MipsCall on the right thread instead of any random thread (current thread)
2015-01-04 13:04:01 +01:00
AdamN
69fb339a83
Fixed an issue when MipsCall executed on any random thread instead of it's own thread causing some registers to be corrupted and leading to invalid address access
2015-01-04 13:04:01 +01:00
AdamN
2cc19f56b2
Rearrange Network Shutdown to be properly in order (NetInit->AdhocInit->network functions->AdhocTerm->NetTerm)
2015-01-04 13:04:00 +01:00
Henrik Rydgård
303b92d703
Merge pull request #7265 from unknownbrackets/mpeg-ringbuffer
...
Reverse packetsFree to packetsAvail
2015-01-04 09:55:13 +01:00
daniel229
6cebc3a0b0
Replace function with memmove in Jui Dr. Touma Jotarou
2015-01-04 14:07:17 +08:00
Unknown W. Brackets
ce33a9f128
Try to handle savestates better.
...
Just in case. This isn't perfect but it should catch common cases.
2015-01-03 21:46:40 -08:00
Unknown W. Brackets
67cbf2e904
Reverse packetsFree to packetsAvail.
...
This is the actual value stored in memory, which games may be accessing or
even writing to.
Makes the video/mpeg/ringbuffer/avail test pass.
2015-01-03 18:59:56 -08:00