Henrik Rydgård
6645ddfa38
Merge pull request #18489 from hrydgard/memory-profiling-notes
...
Some changes and comments after running the memory profiler on Windows
2023-12-08 23:58:48 +01:00
Henrik Rydgård
d234fa24e6
Add progress bar (without %) to install/uninstall. Other fixes.
2023-12-08 16:16:28 +01:00
Henrik Rydgård
888b32e243
Store: Perform uninstalls on a background thread, to avoid hanging the UI
2023-12-08 16:16:26 +01:00
Henrik Rydgård
a929eb6c6d
Store: Remove unnecessary std::shared_ptr around the install thread
2023-12-08 12:49:15 +01:00
Henrik Rydgård
376db1f931
Remove the unused "front" draw2d buffer. Saves 1.5MB of RAM.
2023-12-08 12:29:24 +01:00
Henrik Rydgård
a22450320b
Some minor changes and comments after memory profiling
2023-12-08 12:22:12 +01:00
Henrik Rydgård
1da6da446b
More std::string conversion
2023-11-13 23:43:57 +01:00
Henrik Rydgård
e0ada6e5ba
Cleanup, add the new strings to en_US.ini
2023-10-26 00:18:05 -05:00
Henrik Rydgård
87ddb3f3b1
Add easy way to verify games against the Redump database, supplied as CSV.
2023-10-23 19:11:01 -05:00
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
Henrik Rydgård
2f31cb12fb
Add support for writing to file. Basics work now (having memstick on a content path)
2021-06-07 00:24:52 +02:00
Unknown W. Brackets
d376e67f87
Common: Cleanup some Path constructions.
2021-05-14 22:48:04 -07:00
Unknown W. Brackets
2a9170a2ea
http: Use Path for the download file.
2021-05-14 22:46:03 -07:00
Henrik Rydgård
5cd565d327
Fix path bug installing homebrew
2021-05-13 11:08:27 +02:00
Unknown W. Brackets
66b7e21676
GameManager: Base isDir off of zipped file name.
2021-05-13 10:39:17 +02:00
Henrik Rydgård
4d344f556a
Additional feedback.
2021-05-13 10:39:17 +02:00
Henrik Rydgård
2e16e83159
It never ends...
2021-05-13 10:39:16 +02:00
Henrik Rydgård
ae06499a0c
Change Copy, Rename to use Path. Remove std::string version of Exists().
...
Buildfixes
Buildfix
2021-05-13 10:39:16 +02:00
Henrik Rydgård
0d80362c30
Change parameter of DeleteDir and friends to Path
2021-05-13 10:39:16 +02:00
Henrik Rydgård
025bcb1673
Introduce Path, start using it all over the place.
...
Still lots left to convert!
Convert GetSysDirectory to return Path.
More buildfixing
Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Unknown W. Brackets
18a51b8e97
Update libzip to 1.7.3.
2021-05-09 20:45:53 -07:00
Unknown W. Brackets
20443571bd
Store: Retain cancel/speed on resize or switch.
2021-05-01 11:20:05 -07:00
Unknown W. Brackets
2f08fb6583
Store: Show a rough speed indicator.
...
Some of the homebrew are a bit larger, it's nice to see a speed and not
just the progress bar.
2021-05-01 11:20:05 -07:00
Henrik Rydgård
f4a6d291e1
Common: Capitalize setCurrentThreadName().
2021-04-30 23:02:36 -07:00
ANR2ME
36ba5e0ef0
Prevent flooding the logs with repeated attempts of Adding/Removing port mapping due to failure in the middle of UPnP initialization, as it needs to be reinitialized.
2021-04-02 13:03:07 +07:00
Unknown W. Brackets
fe83f21df5
PPGe: Remove ENTR hack, fix string concat.
...
Sanitize first, then concatenate. This replicates the firmware behavior
nicely.
2021-03-29 00:21:26 -07:00
Unknown W. Brackets
5ef8762c32
PPGe: Interpret invalid UTF-8 sequences better.
...
This matches PSP firmware behavior per tests.
2021-03-28 14:26:14 -07:00
Unknown W. Brackets
7d085966f1
PPGe: Apply overlong handling to wrapped text too.
2021-03-28 13:45:01 -07:00
Henrik Rydgård
5802529daa
UTF-8 PPGe: Remove overlong encodings. Work around a weird issue in Ratchet & Clank. See issue #14297
2021-03-20 13:38:13 +01:00
Paul Cercueil
08e60c27d7
Fix build with USE_MINIUPNPC=OFF
...
Instead of adding platform-specific dirty workarounds, why not try to
handle things *properly*?
With this commit, the PortManager will compile UPnP specific code only
if USE_MINIUPNPC is set.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2021-03-19 12:48:28 +00:00
M4xw
4cc322466a
Switch: Workaround several missing toolchain defs.
2021-03-04 21:24:57 -08:00
Unknown W. Brackets
13ec384dbe
Build: Explicitly include ppsspp_config.h.
...
This adds it to all files that use it. Not all our builds include the
file.
2021-03-02 21:04:03 -08:00
Unknown W. Brackets
2ce77c6776
PPGe: Reload atlas on load state if different.
2021-03-01 21:04:35 -08:00
Henrik Rydgård
2f3bc2d373
Merge pull request #14056 from unknownbrackets/debugger-mem
...
Track memory allocations and writes for debug info
2021-02-21 10:18:11 +01:00
Henrik Rydgård
aec37e8bb4
Only consider the actual PPGe texture in kernel ram reliable.
...
It seems some Chinese patches like to allocate kernel space for
textures.
(On that note, we should probably allocate our texture elsewhere... in
case it takes up too much space).
2021-02-19 09:53:55 +01:00
Unknown W. Brackets
cc1b4e695d
Debugger: Correct crash with no alloc tag.
2021-02-15 15:01:23 -08:00
Unknown W. Brackets
e7b968be73
Debugger: Notate Memcpys directly as well.
2021-02-15 15:01:23 -08:00
Unknown W. Brackets
88e2b9b740
Debugger: Notate memset tags directly.
2021-02-15 15:01:23 -08:00
Unknown W. Brackets
f7740edc6d
Debugger: Add more metadata for memory usage.
2021-02-15 15:01:21 -08:00
Unknown W. Brackets
f32f89dd90
Global: Remove some unused variables.
2021-02-15 11:59:45 -08:00
Henrik Rydgård
1c3c384289
Merge pull request #14079 from unknownbrackets/ppge-aspect
...
Savedata: Show save icons with proper aspect ratio
2021-02-15 11:20:41 +01:00
Henrik Rydgård
b539ce8c2c
Merge pull request #14078 from unknownbrackets/ppge-alloc
...
PPGe: Decimate text images properly
2021-02-08 10:09:21 +01:00
Unknown W. Brackets
f7c17817fe
PPGe: Decimate early if kernel alloc fails.
2021-02-07 23:17:53 -08:00
Unknown W. Brackets
c87b53a9fe
PPGe: Decimate text images properly.
2021-02-07 23:06:35 -08:00
Unknown W. Brackets
839be8e636
PPGe: Clear text allocations on shutdown.
2021-02-06 14:23:35 -08:00
Unknown W. Brackets
47523a0557
PPGe: Fallback to atlas text on alloc fail.
2021-02-06 14:10:18 -08:00
Unknown W. Brackets
0b666d0dac
PPGe: Scale down by worst of window/internal res.
...
See #13958 .
2021-01-23 09:04:58 -08:00
Unknown W. Brackets
b60074f697
http: Prevent Windows header leak from HTTPClient.
2021-01-09 14:45:03 -08:00
Henrik Rydgård
71511adad6
Merge pull request #13868 from unknownbrackets/savedata
...
Savedata: Prevent garbage bleeding into save icons
2021-01-04 08:06:04 +01:00
Unknown W. Brackets
4573907098
Savedata: Prevent garbage bleeding into save icons.
...
This pads out the icon data and also fixes a potential buffer overflow
during image data copy.
2021-01-03 16:26:31 -08:00
Unknown W. Brackets
3c9ab13672
GPU: Remove NULL GPU.
...
We can use the software GPU without a backend now, and this is in every
way superior and will result in better tests/headless behavior.
2021-01-02 09:36:13 -08:00