Commit Graph
10246 Commits
Author SHA1 Message Date
Henrik Rydgård d5fe6154b5 Enable color reinterpret for Ultimate Ghosts & Goblins
The game uses it by accident probably, but whatever - it's a clean fix.

Fixes, but only for "modern" APIs, #13717.
2020-11-27 23:52:33 +01:00
Henrik Rydgård 6bf9f20f5f Merge pull request #13711 from shenweip/microphone
Microphone:Improves the support of microphone.
2020-11-24 23:43:48 +01:00
shenweip 07685d5e0f Correctly handle stuffing data of pack header. 2020-11-25 00:13:31 +08:00
shenweip 6afeed877c Build fixes 2020-11-24 21:36:17 +08:00
shenweip be0449d16d Fixes state. 2020-11-24 17:28:31 +08:00
shenweip 9a85ab2c43 Writes target buffer address in multiple times.
Would be better to calculate read data length.
2020-11-24 17:15:26 +08:00
Henrik Rydgård 9e4c7c84ac Only use double precision sincos in Hitman Reborn Battle Arena 2. See #12900 2020-11-23 23:51:07 +01:00
Henrik Rydgård 3db4c0bc5e Partially revert "VFPU: Compute sines and cosines in double precision."
This reverts commit 16654d37ea.
2020-11-23 23:34:33 +01:00
Henrik Rydgård 6982a39801 Merge pull request #13703 from hrydgard/get-thread-exit-status-delay
Guess at a fix for #13698 - sceKernelThreadGetExitStatus probably takes some cycles.
2020-11-23 15:10:01 +01:00
shenweip 235919f905 Try to implement some related funcs.
Marked as UNTEST.
2020-11-23 17:13:55 +08:00
iota97 a014d7c785 Remember game list scroll 2020-11-23 10:10:20 +01:00
Henrik Rydgård 5c0ab8bea3 Guess at a fix for #13698 - sceKernelThreadGetExitStatus probably takes some cycles. 2020-11-23 09:09:36 +01:00
shenweip 730d9f8fd9 Clean up. 2020-11-23 15:49:14 +08:00
shenweip 3380d31974 Mpeg:Checks autual available space before putting data. 2020-11-23 15:24:03 +08:00
shenweip f2bd0b9f6f Implements sceUsbCamGetMicDataLength. 2020-11-23 14:07:11 +08:00
Henrik Rydgård 1640a39de8 Add developer setting "Show on screen messages". Uncheck to hide them.
Fixes #13682.

Might move to system settings or something next release, don't want to
cause a mess in translations.
2020-11-22 19:08:14 +01:00
shenweip c70c8cad6e Makes a distinction between blocking and non blocking modes. 2020-11-22 02:06:15 +08:00
shenweip aac4cbb1dc Changes the way of reading microphone data.
Feeds the microphone buffer continuously(Windows) and overwrites old data with new data when the buffer has no remaining space.
2020-11-22 01:17:25 +08:00
Henrik Rydgård 5c4a227b73 Merge pull request #13673 from shenweip/mpeg-fix
Fix mistake.
2020-11-18 08:56:54 +01:00
shenweip 0b64d58c7d Fix mistake. 2020-11-18 10:59:45 +08:00
ANR2ME ade89270c8 Updated socket's send buffer size as an attempt to fix PSP2i unable to enter dungeon when using RadminVPN issue #13648 2020-11-16 19:03:11 +07:00
ANR2ME 38d887ce88 Change socket's MSS based on PSP_ADHOC_PTP_MSS 2020-11-16 19:03:11 +07:00
ANR2ME f30c61849b Making use TCP_QUICKACK (or it's alternative) along with TCP_NODELAY 2020-11-16 19:03:09 +07:00
shenweip a16e758f33 Corrects the number of added packets returned by sceMpegRingbufferPut, especially if callback is called multiple times. 2020-11-15 22:02:53 +08:00
Henrik Rydgård e01d538707 Merge pull request #13659 from shenweip/mpeg-multi_streams
Mpeg:Improves the support of multiple streams video.
2020-11-15 09:41:39 +01:00
sum2012 c223c18afe Fix crash in sceusbmic on load old staus then save again
Fix #1358 again
2020-11-15 13:16:29 +08:00
shenweip 5e5f5d0164 Makes video streams amount meet the expectation of sceMpegRegistStream() not only the mpegheader. 2020-11-13 18:55:52 +08:00
shenweip 5819ef1f82 Reads all packets to ringbuffer.
Calls callback multiple times to read all packets when the write position reaches the boundary of the ringbuffer.
2020-11-13 18:50:09 +08:00
Henrik Rydgård 668fca01a8 Fix crash on save state. Fixes #13658
Should be ok since the event will get restored next time it's needed
(delayed).
2020-11-12 13:37:48 +01:00
sum2012 1f494cf234 Mpeg:Revert part of https://github.com/hrydgard/ppsspp/commit/fa59be7e5db1526d07de75f6d7c14b94e98809e6
Fix #13595
2020-11-09 20:57:40 +08:00
Henrik Rydgård 0193fd278d Merge pull request #13638 from sum2012/AuCtx_minor
Fix AuCheckStreamDataNeeded function
2020-11-08 16:05:33 +01:00
sum2012 942ce775cc Fix AuCheckStreamDataNeeded function
fix #13633
2020-11-08 22:47:32 +08:00
Henrik Rydgård 9105249901 Add compat flag for reinterpret shader, also disable on platforms that can't support it yet 2020-11-08 11:32:55 +01:00
Henrik Rydgård 19b4febbbf More reinterpret shader gen and test work.
More work on reinterpret

Buildsystem fixes
2020-11-08 10:41:20 +01:00
Henrik Rydgård 44ec286ba4 Framebuffer: Keep the render scale factor around, no need to recompute it. 2020-11-06 09:11:57 +01:00
Henrik Rydgård ad2ec61c98 Retry the masked memory experiment on iOS. Turns out it was the shader generator bug that broke things. 2020-11-03 21:04:03 +01:00
Henrik Rydgård f429c97392 Disable masked memory on iOS again. The cure was worse than the disease apparently.
Needs more investigation before we re-enable.

See #13616
2020-11-03 15:46:21 +01:00
Henrik Rydgård 627be60529 Merge pull request #13616 from hrydgard/masked-memory-ios
Enable "masked memory" on iOS
2020-11-03 07:20:03 +01:00
ANR2ME 755a5dd7d6 Fix Starting multiplayer issue on DBZ Team Tag 2020-11-03 09:32:00 +07:00
ANR2ME 5d0b6e83b2 Reducing the delay on GetPeerInfo 2020-11-03 09:31:25 +07:00
Henrik Rydgård f050d51973 Enable masked memory addressing on iOS
(removes the need for functioning memory mirrors)

I have a theory that this is related to the iOS 14 problems: #13451
2020-11-03 00:20:19 +01:00
Henrik Rydgård 1b596ef82b Fix/workaround ARM64 with the MASKED_PSP_MEMORY build flag. 2020-11-03 00:20:16 +01:00
Henrik Rydgård dd7983c8dd Fix a bad check, causing masked memory to fail on non-32-bit platforms even if desired. 2020-11-02 23:11:44 +01:00
Henrik Rydgård 45218ec73d Merge pull request #13609 from hrydgard/merge-glsl-hlsl-fragment-shadergens
Merge GLSL and HLSL fragment shader generators into one generic
2020-11-01 09:53:56 +01:00
Henrik Rydgård ee11f6af76 Merge pull request #13608 from shenweip/stopunloadselfmodule
When stops and unloads self module, make sure that the thread is properly deleted.
2020-10-31 23:03:33 +01:00
Henrik Rydgård dd00672d88 Just some cleanups that get to tag along 2020-10-31 18:32:49 +01:00
Henrik Rydgård d981511459 Misc cleanup 2020-10-31 18:32:43 +01:00
Henrik Rydgård 2f4dfedaa9 Fix loading old savestates.
Was broken in #13592
2020-10-31 18:27:26 +01:00
shenweip f5afd98226 When stops and unloads self module, make sure that the thread is properly deleted. 2020-10-31 23:25:52 +08:00
Henrik Rydgård f3c05cb81a Merge pull request #13575 from Florin9doi/android_audio_record2
[Android] Audio record using OpenSL
2020-10-31 10:25:14 +01:00