Commit Graph
9590 Commits
Author SHA1 Message Date
Henrik Rydgård a875b8add0 Merge pull request #12744 from unknownbrackets/ui-minor2
UI: Allow startup without UI assets
2020-03-22 11:36:24 +01:00
Unknown W. Brackets 08b6275bc7 Io: Apply VFAT hack only to dirs <= 8 chars long.
Fixes Mega Drops 2, which relies on the lowercase name at about 10
characters.
2020-03-21 22:49:19 -07:00
Unknown W. Brackets da9158b34b UI: Allow startup without UI assets.
On platforms where we render fonts, it is at least somewhat usable without
assets.  A much better experience than a segfault.

On other platforms, it'll probably be mostly unusable, but you can already
get that with an old/wrong assets file.
2020-03-21 21:35: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
Henrik Rydgård b2c66a304b Merge pull request #12718 from unknownbrackets/vpl-order
Vpl: Correct allocation order when splitting block
2020-03-17 09:23:34 +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 492e8d4f92 Core: Use full memory for ELF files.
We only apply the MEMSIZE check for homebrew in PBP format.
2020-03-16 19:54:48 -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 de81b706c4 PPGe: Clear unused parts of text image buffers.
Prevents artifacts when the RAM previously had other data in it.
2020-03-11 06:48:11 -07:00
Unknown W. Brackets 5f65c075e2 PPGe: Correct double spacing in some save text. 2020-03-11 06:37:18 -07:00
Unknown W. Brackets f214b7d422 Camera: Simplify an expression.
Make this readable by breaking it up.  Like one would sentences.
2020-03-10 22:48:10 -07:00
Unknown W. Brackets 51b94a9c9c Core: Quiet some warnings. 2020-03-10 22:19:59 -07:00
Unknown W. Brackets 9c9ace6e1a Android: Delay TextDrawer init in PPGe.
We need it to init on the correct thread.
2020-03-10 21:40:47 -07:00
Unknown W. Brackets 08a6047768 PPGe: Show ellipsis for overly long lines.
To match PPGE_LINE_USE_ELLIPSIS when using TextDrawer.
2020-03-10 21:30:53 -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
Unknown W. Brackets f2c88d6626 PPGe: Make some of the API internal only.
We don't use these externally and probably won't.
2020-03-10 21:30:53 -07:00
Unknown W. Brackets 998f95786a Android: Enable native keyboard for OSK.
And make Windows/Qt follow the same async behavior for input boxes.
2020-03-09 18:59:53 -07:00
Henrik Rydgård e97e3c4218 THe proposed Hive Sweeper fix in #11025 looks right, let's just commit it.
Probably helps #11025.
2020-03-10 00:01:28 +01:00
Henrik Rydgård 4501045224 Merge pull request #12691 from unknownbrackets/inputbox
Android: Process input prompts more clearly
2020-03-09 20:28:25 +01:00
Henrik Rydgård 94524f7893 Merge pull request #12694 from unknownbrackets/osk-limit
Osk: Prevent adding highlighted char past limit
2020-03-09 14:46:09 +01:00
Unknown W. Brackets bc07a0529c Osk: Prevent adding highlighted char past limit.
The display would correctly show the number of characters allowed, but you
could still end up going one past.  This caused glitches in some games,
see #9821.
2020-03-09 06:40:30 -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
Unknown W. Brackets efceb031ce UI: Make System_InputBox API asynchronous.
Doing this as a precursor to cleaning up the Android madness.
2020-03-08 18:59:17 -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