Commit Graph
4361 Commits
Author SHA1 Message Date
Unknown W. Brackets 91e1e75692 Net: Correct pool allocation. 2020-04-05 07:01:45 -07:00
Unknown W. Brackets 8b6d2f9025 HLE: Oops, make sure we don't deadbeef mips calls.
See #12752.
2020-03-25 17:11:02 -07:00
Unknown W. Brackets 03cd1d5c5e HLE: Fix some misleading logging. 2020-03-23 09:05:14 -07:00
Unknown W. Brackets 9cb74691b6 Core: Add argmask for threadhacks to prevent crash.
Every HLEFunction should have an argmask.  Some asserts for shutdown
crashes someone was seeing when calling HLE funcs from a shutdown
function.
2020-03-22 23:33:05 -07:00
Henrik Rydgård d6ba1b7f99 More correctly handle UCS2 encoding. 2020-03-22 19:29:25 +01:00
Unknown W. Brackets 54e1afda1e HLE: Make calling mips funcs simpler.
This makes their return value handling, scheduling, etc. more
straight-forward.
2020-03-22 06:59:43 -07:00
Henrik Rydgård 0d2acb6d73 Merge pull request #12740 from unknownbrackets/font-minor
Font: Prevent crash on game exit
2020-03-21 23:11:34 +01:00
Unknown W. Brackets 000a166dba Font: Prevent crash on game exit.
We should not try to call __KernelDirectMipsCall() on shutdown.
2020-03-21 12:36:09 -07:00
Henrik Rydgård 7d13d2e863 Merge pull request #12727 from shenweip/mipscall
Correcting return value of some mipscalls without after action.
2020-03-21 00:47:21 +01:00
Unknown W. Brackets d734f7ccb4 Reporting: Log SceIoChstat calls.
Might be used to truncate save data or do other things.
2020-03-19 20:57:23 -07:00
shenweip fc55d2b81b Correcting return value of some mipscalls without after action. 2020-03-18 16:58:07 +08:00
Henrik Rydgård 788b8a29d6 Fix the logic around postEffectRequiresFlip so duplicateFrames doesn't require a post shader. 2020-03-17 13:10:43 +01:00
Unknown W. Brackets 916ba4edaf Vpl: Correct allocation order when splitting block.
More fuzz testing produced cases that were still off.  This is simpler.
2020-03-16 21:17:23 -07:00
Unknown W. Brackets 6310f559f9 Merge pull request #12709 from shenweip/Font-alloc/free
Font:alloc/free memory for font file and char bitmap.
2020-03-16 22:32:57 -04:00
Henrik Rydgård e14bf3bcc3 Merge pull request #12714 from unknownbrackets/display-minor
Display: Update latched fbaddr on immediate update
2020-03-16 08:23:29 +01:00
shenweip a286c657e3 Reset the useAllocCallbacks on font init. 2020-03-16 10:54:46 +08:00
shenweip cefecb12b7 Buildfix.
Buildfix2.
2020-03-16 10:22:09 +08:00
Unknown W. Brackets a6edf70aa0 Display: Update latched fbaddr on immediate update.
This is needed for the next sceDisplayGetFramebuf() to return the right
value.  This is why it didn't seem to match tests.
2020-03-15 19:13:41 -07:00
shenweip c7db6b6466 Merge branch 'master' into Font-alloc/free 2020-03-16 08:16:50 +08:00
shenweip ac56a8e93a Fix states. 2020-03-16 07:54:42 +08:00
shenweip 2f088d0970 No need to manually decide pending or not for mipscalls. 2020-03-16 07:46:13 +08:00
Unknown W. Brackets aca68d711b Net: Stub network sign-in dialog.
Without this, games hang.  Now they act like you canceled.
2020-03-15 13:05:33 -07:00
Unknown W. Brackets 97bc0a5245 Net: Support NETCONF_CONNECT_APNET_LAST request.
Also cleanup the dialog to handle timing like other dialogs.  May fix
issues where it lingers "open" and prevents other dialogs from working.
2020-03-15 12:23:22 -07:00
Unknown W. Brackets 1fc755f267 NetAdhoc: Match init/term behavior better. 2020-03-15 11:37:12 -07:00
Unknown W. Brackets 6b453c4708 Net: Better simulate sceWlanGetEtherAddr timing.
Also, interestingly, this does not fail if the wifi switch is off.
2020-03-15 11:37:12 -07:00
Unknown W. Brackets dfb10f197e Net: Handle memory allocation better. 2020-03-15 11:37:12 -07:00
Henrik Rydgård eeff56cdbf Merge pull request #12602 from hrydgard/frame-duplication
Add option to improve frame pacing through duplicate frames if below 60hz.
2020-03-15 18:33:06 +01:00
Henrik Rydgård d385096599 Add option to improve frame pacing through duplicate frames if framerate is below 60hz.
Should help #9736, and fixes #12325.
2020-03-15 17:33:16 +01:00
Unknown W. Brackets 7d36b70a8e Kernel: Rename conflicting kernel object names.
These are names that can often conflict with system headers in ports.
Let's just simplify by prefixing with PSP.

No actual functional/code changes, just syntax and names.
2020-03-15 08:33:40 -07:00
shenweip 3ffb20b66b Font:alloc/free memory for font file and char bitmap.
Following the guide of JPCSP.
2020-03-15 23:05:28 +08:00
M4xw fe32ad88fb Core: Add some libnx calls for Switch. 2020-03-15 07:56:38 -07:00
Henrik Rydgård d0e2aa3a4f Merge pull request #12702 from unknownbrackets/ppge-text
PPGe: Use TextDrawer for save UI if available
2020-03-11 17:26:50 +01:00
Unknown W. Brackets 51b94a9c9c Core: Quiet some warnings. 2020-03-10 22:19:59 -07:00
Unknown W. Brackets 6652fe261f PPGe: Use TextDrawer for save UI if available.
This should result in better spacing for non-Latin characters, and less
missing letters.  Basically the same benefits as for the UI.
2020-03-10 21:30:53 -07:00
Henrik Rydgård c9c060fcdb Merge pull request #12692 from unknownbrackets/warnings
Correct some error handling for OpenFile()
2020-03-09 07:47:13 +01:00
Unknown W. Brackets ab38c387ad Io: Correct some error handling for OpenFile().
See #12433.
2020-03-08 21:22:21 -07:00
Henrik Rydgård 2eaa1db046 Vulkan: Track down another one of those minor resource leaks.
Also no need to zero, queue for delete does it already.
2020-03-09 00:48:00 +01:00
Henrik Rydgård ec8e153962 Merge pull request #12690 from unknownbrackets/module-crash
Module: Reinit gpu only on runtime module load
2020-03-09 00:21:37 +01:00
Unknown W. Brackets 2e0eade993 Module: Reinit gpu only on runtime module load.
During initial loading, we load the module in a thread.  It's not
deterministic if the gpu will load before or after the ELF, which can
cause a crash.

There's no real reason to Reinitialize() it there, though.  We already
Reinitialize() on gpu start.
2020-03-08 15:35:21 -07:00
Unknown W. Brackets fc8306dde1 Android: Ensure we forget the shortcut on next run.
Prevents an issue where we would use the shortcut param again when
starting the app directly.
2020-03-08 14:58:42 -07:00
Henrik Rydgård 3e6050beac Minor cleanups 2020-03-08 14:35:25 +01:00
Henrik Rydgård 8f2a52ccab Merge branch 'rechat' of https://github.com/ANR2ME/ppsspp into ANR2ME-rechat 2020-03-08 14:28:10 +01:00
shenweip 54de07d4ea Attempt to replace 0 frame width with valid frame width.(sceMpegAvcCsc)
Fixes #12627.
2020-03-03 17:15:14 +08:00
ANR2ME 93b59afed5 Fix building errors 2020-03-03 00:23:12 +07:00
ANR2ME 142e60974c Merge branch 'rechat' of https://github.com/adenovan/amultios-ppsspp into rechat 2020-03-02 22:25:18 +07:00
Unknown W. Brackets cebcfb1bbd GPU: Use old frame when presenting a skip.
If we flip using a skipped frame, we may show an even older frame causing
weird flickering.
2020-03-01 13:55:28 -08:00
Unknown W. Brackets 566e46d70c Vulkan: Allow alt speed above 60 with vsync.
Enabling frameskip when needed.  Also don't enable frameskip when it's not
needed, such as OpenGL on Windows with >100% alt speed.
2020-03-01 07:44:06 -08:00
Henrik Rydgård 2ec82951a0 Merge pull request #12659 from unknownbrackets/vsync
Support vsync in all hardware backends, support runtime update
2020-03-01 09:52:14 +01:00
Unknown W. Brackets 2a3fd05651 Vulkan: Present using FIFO for vsync.
This allows the setting to be changed at runtime in Vulkan too.

Should help #10105.
2020-02-29 22:48:59 -08:00
shenweip 41a53d70bd Rename func. 2020-02-27 19:21:27 +08:00