Commit graph

360 commits

Author SHA1 Message Date
Henrik Rydgård
602407fcf2 Warning and comment fixes, logic precedence fixes in PPGeDraw 2023-09-21 16:41:42 +02:00
Henrik Rydgård
57edb9f78a Gate the PPGE texture windowing trick behind the software rendering setting. 2023-09-11 14:18:58 +02:00
Unknown W. Brackets
3c7b05c3e8 PPGe: Use texture windows for atlas text.
This makes it software rendering, which correctly applies clamp/wrap
limits at 512x512, still has readable text.  Other textures may still be
wrong.
2023-09-10 23:54:55 -07:00
Unknown W. Brackets
cec9dbbdf7 Build: Add some missing include guards. 2023-09-07 17:14:58 -07:00
Henrik Rydgård
779a156251 PortManager warning fix. The #pragma pack stuff was redundant anyway 2023-08-10 17:15:57 +02:00
Henrik Rydgård
93bb113009 Common: Rename Download to Request, and the old Request to ServerRequest. 2023-07-21 22:12:00 +02:00
Henrik Rydgård
9decdd198e Address more feedback, minor cleanup 2023-07-21 10:30:06 +02:00
Henrik Rydgård
ab6e902fea Make naett work on Android, UWP, Mac. Exclude on Linux 2023-07-21 10:28:31 +02:00
Henrik Rydgård
b54d5ab8e6 Cleanup the g_PortManager shutdown process
Following up comment by @ANR2ME in #17744, to be merged before that one.
2023-07-20 23:55:35 +02:00
Henrik Rydgård
ecea3844b0 Improved progress bar popups for downloads
Now shows the filename, and also there's a delay mode where they'll only
be visible if the download takes more than a second, plus they can be
named.
2023-07-18 15:13:44 +02:00
Henrik Rydgård
eb21a2e6c9 Break out the OSD data holder from Common/System/System.h, into OSD.cpp/h 2023-06-30 17:15:49 +02:00
Henrik Rydgård
7cc8c6cea4 OSD: Add semantics, move the the OSD state to common (while keeping the renderer in the UI). 2023-06-20 14:40:46 +02:00
Unknown W. Brackets
252d71f27e UI: Fix thread error on zip open failure. 2023-05-14 11:49:10 -07:00
Henrik Rydgård
6945deec01 Replace a LOT of sprintf with snprintf, and a few strcpy with truncate_cpy 2023-04-28 21:04:05 +02:00
Henrik Rydgård
ee6234ecb6 I18N: Switch to getting categories by index instead of by string lookup
Also gets rid of the shared_ptr usage, and generally makes things nicer.

Needed for later config refactorings, good to get in early.
2023-04-07 10:35:01 +02:00
Henrik Rydgård
d586ec0d5e Don't create Host objects except in headless/unittest 2023-03-25 10:47:01 +01:00
Henrik Rydgård
9e125eeba7 Remove NotifyUserMessage from Host 2023-03-25 10:32:09 +01:00
Henrik Rydgård
5fae4f36db Move SkipUI function 2023-03-21 13:39:02 +01:00
Henrik Rydgård
3b39e9e068 Turn the VFS into a class, to be able to reuse it for other purposes. 2023-03-06 16:42:47 +01:00
Henrik Rydgård
00c44ea799 Get rid of the bool, not worth it. 2023-01-10 10:23:29 +01:00
Unknown W. Brackets
dea9cac16c Core: Add range checks to some helpers and similar. 2023-01-09 16:56:18 -08:00
Henrik Rydgård
916404f0e4 Try to get a bit better at detaching threads that have used JNI from the VM. 2023-01-05 08:38:49 +01:00
Unknown W. Brackets
40cab56bb9 UI: Prevent crash installing second game quickly. 2023-01-04 22:42:12 -08:00
Unknown W. Brackets
1810692236 Global: Cleanup some type/range checks. 2022-12-10 21:13:37 -08:00
Unknown W. Brackets
9cfcbc46e6 Global: Cleanup initialization/pointer checks.
Cleaning up a lot of cases of uninitialized data, unchecked return values
for failures, and similar.
2022-12-10 21:13:36 -08:00
Johan Mattsson
954bd69e30
Fix progress computation 2022-12-03 15:26:31 +01:00
Unknown W. Brackets
2e1e11f116 PPGe: Respect 512 texture limit.
If a message ends up rendering wider than 512 (which can happen because we
use higher quality fonts than 1x), draw in tiles to avoid accessing texels
outside 512.

Fixes an issue in Sakura Taisen in the software renderer.
2022-11-26 12:03:21 -08:00
Unknown W. Brackets
6105688c32 UI: Install textures as a zip if supported. 2022-10-31 20:14:38 -07:00
Unknown W. Brackets
5bed35b293 Savedata: Skip and defer texture exist check.
We can skip if there's no UI.
2022-10-09 14:42:31 -07:00
Herman Semenov
29b87e0c0b
Merge branch 'master' into master 2022-10-03 07:49:13 +00:00
Unknown W. Brackets
8b7ccfeca5 Core: Remove disallowed register. 2022-09-30 19:48:14 -07:00
lainon
fec708489a Correct cleaning string and remove unused vars 2022-09-30 12:26:30 +03:00
Henrik Rydgård
65c016d154 Fix dialog rendering (PPGe). Fixes #15954
Was caused by 867eb99 , part of #15950 .
2022-09-04 00:42:14 +02:00
Unknown W. Brackets
867eb99505 PPGe: Cleanup memory writes for clarity.
Switch from WriteStruct to PSPPointer as well.
2022-09-03 07:25:03 -07:00
Henrik Rydgård
881cc23965 Delete some unused code. 2022-07-24 13:54:04 +02:00
Unknown W. Brackets
aad5082d55 Config: Move recent ISOs access to accessors. 2022-07-11 20:44:13 -07:00
Henrik Rydgård
a68ddd0a8d Merge separate NEON functions into the normal functions.
We no longer support non-NEON ARM.

It's nice also to have the NEON and SSE implementations "close" to each
other, easier to port optimizations back and forth etc.
2022-04-12 23:43:21 +02:00
Unknown W. Brackets
2479d52202 Global: Reduce includes of common headers.
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Unknown W. Brackets
3df6cb704f Global: Fix some type conversion warnings.
Hidden by some warning disables.
2022-01-30 16:09:33 -08:00
Unknown W. Brackets
b0dbdb4dda UI: Reset ZIP install errors for new ZIPs. 2022-01-17 09:15:39 -08:00
Unknown W. Brackets
c31f746896 PPGe: Disable dither in UI drawing.
We perform it in software, but it looks bad.
2022-01-01 16:40:01 -08:00
Unknown W. Brackets
63e623ecb2 Build: Fix some format truncation warnings.
Generally all should be safe already, but better to be sure.
2021-12-11 10:45:27 -08:00
李通洲
17171bc9dc Use system headers when building with system miniupnpc
Fixes https://github.com/hrydgard/ppsspp/pull/15185
2021-12-07 15:36:30 +08:00
Unknown W. Brackets
34476a2b9d PPGe: Prevent special ampersand handling. 2021-11-24 18:53:24 -08:00
Henrik Rydgård
7ec60f28b3 Paper over a race condition slightly better. Really need to redo sync here. 2021-10-08 00:11:44 +02:00
Unknown W. Brackets
1f3d31f687 UI: Fix game installer extension check. 2021-09-26 09:36:52 -07:00
Unknown W. Brackets
afcf6d8e65 http: Specify expected mime types in downloads. 2021-08-22 10:03:59 -07:00
Henrik Rydgård
43ba908225 Propagate errors from file identification upwards better. 2021-08-07 11:54:45 +02:00
Henrik Rydgård
3737daaf0c Address more feedback, warning fix 2021-06-07 00:26:26 +02:00
Henrik Rydgård
ad72dc8748 Can now install to but not run homebrew from content uri 2021-06-07 00:24:52 +02:00