Commit Graph

112 Commits

Author SHA1 Message Date
Henrik Rydgård
bb7972c437 Correct the wPlanes field in the ico format 2024-05-13 01:48:15 +02:00
Henrik Rydgård
4d0f3183f2 Windows: When using "Create shortcut", use the game's icon instead of PPSSPP's.
Since on Windows, shortcuts can't embed icons, we first save the game's
icon .png as an .ico in the SAVESTATE folder (there might be a better
place, but it also doesn't seem worth it to create a new folder for
this).

Part of #10885 (Android functionality still missing, for example).
2024-05-13 01:37:53 +02:00
Henrik Rydgård
c5791764d8 Make the i18n T function use std::string_view
Buildfixes, crashfixes

One more

Android buildfix

Buildfix Qt
2024-02-12 18:44:39 +01:00
Henrik Rydgård
bc92226715 Folder browser (like when clicking Browse...): Preinitialize with the current folder. 2024-01-25 12:47:37 +01:00
Henrik Rydgård
c4e2ad37ff Windows: Avoid loading shell libraries during startup. 2023-10-03 12:17:43 +02:00
Henrik Rydgård
60492ae579 Make System_ShowFileInFolder a "request"
Also makes support queryable.

Lets us remove the dummy implementations.
2023-08-24 14:22:35 +02:00
Henrik Rydgård
01f07c9f9c Windows: Fix "Create desktop icon" functionality
All it needed was to suffix the filename with .lnk correctly.
2023-08-18 10:49:00 +02:00
Henrik Rydgård
96506544b7 Just some random driveby code cleanup 2023-08-10 10:28:25 +02:00
haorui wang
10c2f055b4 use CommonWindows.h and remove unnecessary include 2023-06-25 21:12:45 +08:00
haorui wang
fa336edcb6 [what] update cmake compilation configuration in windows
[why] support some other IDE like VScode or clion

[how]
1. update CMakeLists.txt according to *.vcxproj
2. include some header like `windows.h` to support raw cmake compilation
3. exclude libcmt.lib
2023-06-24 21:36:46 +08: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
Unknown W. Brackets
879e91dbf6 Debugger: Add empty watch tab for debugger.
Currently, there's nothing shown here.
2023-04-09 00:01:42 -07:00
Henrik Rydgård
56c26eef4d Remove the old AsyncFileDialog thingy 2023-03-24 21:32:20 +01:00
Henrik Rydgård
a73ac49d59 Move the non-working "Create desktop shortcut" stuff to the request framework 2023-03-24 20:05:48 +01:00
Henrik Rydgård
e0db28899c Windows: Correct menu bar when dark mode is off 2023-02-01 00:05:40 +01:00
Henrik Rydgård
b4a91dbce5 Disable dark mode in disasm window, and the scrollbar hack 2023-01-12 01:05:06 +01:00
Henrik Rydgård
3c0a5e4c4c Fix the white line 2023-01-12 01:01:03 +01:00
Henrik Rydgård
8037eaa456 Further dark magic, no pun intended. Now for the menu bar. 2023-01-12 00:41:25 +01:00
Henrik Rydgård
62e5a5dfc3 Rudimentary support for Windows Dark Mode. Still undocumented for Win32 apps, so ugly. 2023-01-12 00:41:25 +01:00
Unknown W. Brackets
bfc659ab5f Debugger: Correct check of pending list item.
Since updating is async now, setting the check state should be too.
2022-12-31 09:58:24 -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
lainon
3cdf72b68b Better readability and optimization insertion into container by replacing 'insert' -> 'emplace', 'push_back' -> 'emplace_back' 2022-09-30 12:35:28 +03:00
lainon
b304551747 Code readability, vec reserve() and remove excess c_str() 2022-09-30 12:31:32 +03:00
Unknown W. Brackets
3cc628beb4 GE Debugger: Copy images optionally with alpha.
Although, lots of apps don't support this.
2022-09-24 11:43:52 -07:00
Unknown W. Brackets
f3722faef4 GE Debugger: Add a direct copy for preview images. 2022-09-24 10:05:41 -07:00
Unknown W. Brackets
a0b44c52b8 GE Debugger: Allow search by state name.
Since adding breakpoint as the first column, the default search behavior
stopped working.  This restores it, searching for any matching column.
2022-09-18 10:49:32 -07:00
Unknown W. Brackets
6272f3e1d6 GE Debugger: Actually allow swapping tabs. 2022-08-14 10:57:31 -07:00
Unknown W. Brackets
49679c6a50 GE Debugger: Add context menu to control tabs.
Crurent non-functional, but shows up for the correct tab.
2022-08-14 10:20:53 -07:00
Unknown W. Brackets
2a0f23665f GE Debugger: Track tabs per panel. 2022-08-14 09:23:18 -07:00
Unknown W. Brackets
957e15f23a GE Debugger: Highlight changed matrix values. 2022-02-13 10:53:01 -08:00
Unknown W. Brackets
b654ee9d44 Debugger: Allow custom draw and generic lists. 2022-02-13 10:22:38 -08:00
Unknown W. Brackets
6064b77356 GE Debugger: Correct icon list cleanup on shutdown. 2022-02-09 20:50:04 -08:00
Unknown W. Brackets
459bb83c23 GE Debugger: Allow modify/breakpoint on matrix. 2022-02-06 00:16:35 -08:00
Unknown W. Brackets
1bb1f34af0 GE Debugger: Add breakpoint icon in state. 2022-02-05 19:27:28 -08:00
Unknown W. Brackets
4de217d3e4 GE Debugger: Cleanup vertex list redraw.
When you're scrolled down and it deletes items, it was previously
scrolling up an extra step, and not redrawing.  This tries to force
workaround the bug.
2022-02-05 19:27:28 -08:00
Unknown W. Brackets
7fe9c4e519 Debugger: Debounce updates to disasm text.
This is a bit slow, so deferring it improves update speed.
2021-12-12 11:57:24 -08:00
Unknown W. Brackets
c57e5b081d Debugger: Debounce list control updates. 2021-12-12 11:03:19 -08:00
Henrik Rydgård
fc26beca4b Also delay-load the VFPU dialog, just because 2021-11-13 22:24:30 +01:00
Unknown W. Brackets
09f4e82aa7 Debugger: Keep pop up menus to ContextMenu only. 2021-10-07 19:53:40 -07:00
Unknown W. Brackets
39d3b4d933 Debugger: Centralize context menu handling.
This deduplicates a bit, but more importantly keeps all the IDs together.
2021-10-07 19:48:13 -07:00
Unknown W. Brackets
ee8dd8b747 Windows: Remove some old and outdated files.
These aren't being used.
2021-10-03 06:17:33 -07:00
Henrik Rydgård
64dbd97731 Address feedback 2021-08-04 23:22:43 +02:00
Unknown W. Brackets
5f9dfeea86 Windows: Reduce focus juggling on game start.
Previously, we would activate the debugger (if enabled), and then
reactivate the main window.  This meant if you switched to something,
PPSSPP would demand focus once the game loaded.
2021-04-24 23:53:16 -07:00
Unknown W. Brackets
a1b9eb3cc5 Windows: Prevent some virtual dtor warnings. 2021-02-15 11:59:45 -08:00
Unknown W. Brackets
e85a8b0f5b Global: Cleanup class init order warnings. 2021-02-15 11:59:45 -08:00
Unknown W. Brackets
f32f89dd90 Global: Remove some unused variables. 2021-02-15 11:59:45 -08:00
Henrik Rydgård
ff8148dd92 Move native/util, native/data and native/i18 to Common/Data.
Also move colorutil.cpp/h

linking build fix experiment

Delete a bunch of unused CMakeLists.txt files

CMakeLists.txt linking fix

Don't include NativeApp.h from any headers.

Android.mk buildfix

Half of the UWP fix

Buildfix

Minor project file cleanup

Buildfixes

Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Unknown W. Brackets
f8391103a9 Windows: Correct some stdafx.h paths. 2020-09-29 23:25:22 -07:00
Henrik Rydgård
65617889dd Merge ext/native/ext/... directly into ext. 2020-09-30 00:30:42 +02:00
Henrik Rydgård
11ab77b995 Remove some TLS. 2020-09-29 15:51:51 +02:00