Commit Graph

2450 Commits

Author SHA1 Message Date
Unknown W. Brackets
cb9a22c0cb Build: Recompress pngs using better zlib.
Used pngwolf to recompress all pngs.  Not a big change, but should
slightly reduce app download size.
2021-04-11 11:09:18 -07:00
Unknown W. Brackets
d3e2aa6d28 Build: Add libzstd to build. 2021-04-11 09:13:10 -07:00
Unknown W. Brackets
b5d21b4f9b UI: Remove extern global for UI message. 2021-04-10 18:42:40 -07:00
Unknown W. Brackets
ca1a936d56 GPU: Stop using Off as terminator for postshaders.
There's really no need to have a dummy entry at the end of the array.
2021-04-10 18:35:23 -07:00
Henrik Rydgård
6f795fc120
Merge pull request #14346 from unknownbrackets/analog
UI: Flip Y analog direction based on config, normalize dinput right analog
2021-04-04 18:32:42 +02:00
Unknown W. Brackets
eca3a405b6 UI: Flip Y analog direction based on config. 2021-04-04 08:39:49 -07:00
Unknown W. Brackets
c9428975fe Windows: Normalize left and right analog stick. 2021-04-04 08:16:26 -07:00
Henrik Rydgård
e86e3cc7cd
Merge pull request #14344 from unknownbrackets/debugger-mem
Include more memory info in debugger tags
2021-04-04 11:20:33 +02:00
Unknown W. Brackets
4285485157 Debugger: Add menu to jump to begin/end of alloc.
Helpful when viewing memory.  Should add a shortcut too...
2021-04-03 16:03:21 -07:00
ANR2ME
6babae0886 Fix Window size issue #14317 2021-03-30 08:06:08 +07:00
Unknown W. Brackets
f8306891c5 Windows: Avoid segfault if memory except on boot. 2021-03-28 19:44:17 -07:00
Henrik Rydgård
af5637ecc5
Merge pull request #14229 from unknownbrackets/windows-keys
Windows: Setting for standard/debugger shortcuts
2021-03-03 22:15:55 +01:00
Henrik Rydgård
bd87a76064
Merge pull request #14238 from unknownbrackets/ui-sysinfo
UI: Wrap long info items and cleanup storage display
2021-03-03 09:18:42 +01:00
Unknown W. Brackets
4178f09e57 Build: More consistently avoid _M_ defines.
We use PPSSPP_ARCH in several places already, this makes it more complete.
2021-03-02 21:49:21 -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
da28e58ecf Windows: Stop using 1234 default unused paths.
They show in storage now, so just send blank.
2021-02-28 15:09:36 -08:00
Henrik Rydgård
0facd4d4a6
Merge pull request #14230 from unknownbrackets/texreplace
Support texture replacement filtering overrides
2021-02-28 18:09:38 +01:00
Unknown W. Brackets
0f5ebd210a Windows: Add missing header for menu. 2021-02-28 07:51:38 -08:00
Unknown W. Brackets
3d8e444368 GE Debugger: Correct powered diffuse display. 2021-02-27 23:52:45 -08:00
Unknown W. Brackets
fb3ad1df4b Replacement: Read in texture filtering overrides.
If you're replacing, you can know more information about linear safety for
tests.
2021-02-27 17:16:16 -08:00
Unknown W. Brackets
595dfd144b Windows: Setting for standard/debugger shortcuts. 2021-02-27 14:40:02 -08:00
Henrik Rydgård
bd7b283399 Add iOS version detection, turn off JIT on bootup if >= 14.3. 2021-02-22 09:16:51 +01: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
1197795945
Merge pull request #14179 from unknownbrackets/windows-osk
Windows: Run OSK/chat input box asynchronously
2021-02-18 21:23:28 +01:00
Unknown W. Brackets
e7a3faaa8c Windows: Stop ignoring all deprecated warnings. 2021-02-18 08:56:36 -08:00
Unknown W. Brackets
e97a0ec612 Windows: Run OSK/chat input box asynchronously.
This matches Android and should prevent hangs like seen in #14044.
2021-02-18 07:27:28 -08:00
Henrik Rydgård
be0adc29fa
Merge pull request #14169 from unknownbrackets/startup-locks
Reduce startup locks
2021-02-17 10:20:42 +01:00
Unknown W. Brackets
0b632afcdb Windows: Reduce camera state locks.
It only needs a lock on shutdown.
2021-02-17 00:33:39 -08:00
Unknown W. Brackets
3a27d58f36 Windows: Enable chat when selecting Enable Chat.
Also change to Open Chat when already enabled.
2021-02-16 21:41:29 -08:00
Unknown W. Brackets
de72190344 Debugger: Update status on scroll down.
And include the start and end of the range.
2021-02-15 15:01:23 -08:00
Unknown W. Brackets
a4ed6eb167 Debugger: Fix memory lookup in mirrors/uncached.
Oops, was crashing before since it's outside the index.
2021-02-15 15:01:23 -08:00
Unknown W. Brackets
d48bb7e105 Debugger: Show memory tag info in status bar. 2021-02-15 15:01:23 -08:00
Unknown W. Brackets
b1a2090e67 Debugger: Extend tag background on select too. 2021-02-15 15:01:23 -08:00
Unknown W. Brackets
c044e6f7e4 Debugger: Highlight memory ranges in memory view. 2021-02-15 15:01:23 -08:00
Unknown W. Brackets
d80655287b Debugger: Reorganize memory view painting.
This also grabs tag info, but doesn't display it yet.
2021-02-15 15:01:23 -08:00
Unknown W. Brackets
616850663c Debugger: Add initial UI for mem info type.
Does not visualize yet, just implements the selection interface.
2021-02-15 15:01:23 -08:00
Unknown W. Brackets
616f5ddc5a Debugger: Correct search by empty string. 2021-02-15 15:01:23 -08:00
Unknown W. Brackets
96692043c2 Debugger: Cleanup swprintf() usage.
Without size is deprecated.
2021-02-15 12:00:29 -08: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
7119011363 Windows: Correct some variable init 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
Unknown W. Brackets
0c876754a6 Windows: Remove unused file. 2021-02-15 09:28:38 -08:00
Henrik Rydgård
6b539cb4df
Merge pull request #14112 from unknownbrackets/debugger-dump
Debugger: Option to skip mem hacks in memory dump
2021-02-15 16:32:53 +01:00
Kingcom
5109fd7cdc CMake: Correct build on Windows. 2021-02-15 06:09:12 -08:00
Unknown W. Brackets
47b3384647 Windows: Fix some const type conversion warnings. 2021-02-14 10:30:10 -08:00
Unknown W. Brackets
bfd86e4999 Windows: Make InputDevice destructor virtual. 2021-02-14 10:30:10 -08:00
Unknown W. Brackets
9d22297a90 Windows: Use CommonWindows more consistently.
Also, make sure WinSock2.h is included beforehand where it's needed.
2021-02-14 10:30:10 -08:00
Unknown W. Brackets
da2e722794 Windows: Fix some format warnings. 2021-02-14 10:30:10 -08:00
Unknown W. Brackets
6247e4d0ee Windows: Add some missing override specifiers. 2021-02-14 10:30:10 -08:00
Unknown W. Brackets
2c165c9b6d Windows: Fix improper case or missing includes.
As per mingw errors/warnings.
2021-02-14 10:30:10 -08:00
Unknown W. Brackets
f66b0ff56c Debugger: Option to skip mem hacks in memory dump. 2021-02-10 20:36:02 -08:00
Henrik Rydgård
9459690d19
Merge pull request #14066 from unknownbrackets/debugger-funcs
Debugger: Populate funcs if disassembly open early
2021-02-07 09:10:40 +01:00
Unknown W. Brackets
ef24aa69a6 Debugger: Populate funcs if disassembly open early. 2021-02-06 10:20:23 -08:00
Unknown W. Brackets
7f996f5b4b Windows: Prevent crash on null symbol map.
Happened during a double error scenario, but might as well check.
2021-02-04 21:43:19 -08:00
Henrik Rydgård
6d0315eaf9 Fix copy/paste typo causing crash getting tempdirs if an env var had no value 2021-01-10 20:33:17 +01:00
Henrik Rydgård
291f9fdd70
Merge pull request #13902 from unknownbrackets/ui-cleanup
UI: Cleanup Windows header in MainScreen.cpp
2021-01-10 00:24:13 +01:00
Unknown W. Brackets
eee529c6c9 UI: Cleanup Windows header in MainScreen.cpp.
Better to have this come from System, probably.  It's mainly for Windows
anyway, to alert people their save data isn't permanent.
2021-01-09 14:45:49 -08:00
Unknown W. Brackets
43a13f7ec6 Windows: Handle fullscreen message consistently.
This handles it the same way as SDL, etc. so that the new button on the
main screen works again.
2021-01-09 14:17:41 -08:00
Henrik Rydgård
1c753e4a22 Use hacky methods to retrieve SD card directory if available.
This will disappear in future Android versions but can be useful for
older devices.

Fixes (or at least tries to) #10199, at least for some devices.

Might help #13827 ?

Tested on Pocophone F1.
2021-01-07 00:55:35 +01:00
Unknown W. Brackets
c66d5dcac1 Windows: Prevent hang on shutdown.
Which may occur on ARM64 or perhaps lower thread processors?  Let's avoid
spinloops.
2021-01-02 22:49:06 -08:00
Unknown W. Brackets
83272c5e25 D3D11: Avoid crash if debug/info queue unavailable.
We don't fail init already, so we shouldn't fail shutdown.
2021-01-02 20:47:21 -08:00
Unknown W. Brackets
01676bc795 Windows: Fix miniupnpc build on ARM64. 2021-01-02 17:42:43 -08:00
Henrik Rydgård
fa466d2363
Merge pull request #13850 from unknownbrackets/warnings
Cleanup some warnings and a logger shutdown crash
2021-01-01 19:53:10 +01:00
Unknown W. Brackets
ce8bbfaf54 Windows: Fix some type conversion warnings. 2021-01-01 08:37:32 -08:00
Unknown W. Brackets
cd40dcdce0 Build: Explicitly depend on miniupnpc.
Although Core already does, so this seems like an MSVC bug?
2020-12-31 00:21:09 -08:00
Henrik Rydgård
2c4a42a695 UWP: Make the home button say "Home" instead of "Browse...". 2020-12-20 01:47:49 +01:00
shenweip
aac4cbb1dc Changes the way of reading microphone data.
Feeds the microphone buffer continuously(Windows) and overwrites old data with new data when the buffer has no remaining space.
2020-11-22 01:17:25 +08:00
Henrik Rydgård
207b76da6e Show an error on screen if a shader fails to compile.
Part of #1 investigation of #13541
2020-11-05 08:27:13 +01:00
Henrik Rydgård
0292d1719d GEDebugger: Use utf-8 internally. 2020-11-02 10:02:52 +01:00
Henrik Rydgård
32eb882bc6 Clarify some logic, improve framebuffer names 2020-11-02 10:02:49 +01:00
Henrik Rydgård
5ee9cfef0d Remove support for D3D11_level_9 (previously only really used for Windows Phone, probably).
Can always fall back to D3D9, which is not going away anytime soon and
still needs to be there. One less HLSL variant to care about.
2020-10-29 00:52:19 +01:00
shenweip
a0fe0e38c1 SwicthUMD:Only update Switch UMD item of Windows menu instead of entire UI. 2020-10-22 17:45:29 +08:00
Henrik Rydgård
6cc8c2ebc1
Merge pull request #13328 from hrydgard/libretro-fixes
Fix libretro with Vulkan
2020-10-14 22:08:11 +02:00
Henrik Rydgård
495fd9a13c Fix OpenGL crash introduced in #13536 2020-10-11 22:34:37 +02:00
Henrik Rydgård
61567796a2 libretro: Fix screen size problem in Vulkan.
(Still something is slightly off, there are duplicated lines on screen.
Can't figure out what)
2020-10-11 20:26:39 +02:00
Henrik Rydgård
e97baa503a Avoid a division in time_now_d(). Minor optimizations. 2020-10-10 19:05:46 +02:00
iota97
cd42f8b3a6 Make --windowed available on all platform and make sure to trigger resize 2020-10-10 15:52:30 +02:00
Henrik Rydgård
dfb5cd37d9 Fix a recent bug in XinputDevice.h 2020-10-08 23:49:14 +02:00
Henrik Rydgård
886a8b1ac6 Remove Timer.cpp/h. Move various collections into Common/Data/Collections. 2020-10-05 21:05:23 +02:00
Henrik Rydgård
4310e35714 Windows: Remove the native project. 2020-10-05 06:56:10 +02:00
Henrik Rydgård
b236691548 Complete the eradication of D3DX9 compiler loader 2020-10-05 00:13:29 +02:00
Henrik Rydgård
0e3a84b4a8 Move most GPU things to Common.
It works after the move, on Windows and Android at least.

Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. (#13506)
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing

Let's also move net while we're at it.

Move the ZIM/PNG loaders over to Common.

Move the UI framework into Common

iOS buildfix

* Buildfix

* Buildfixes

* Apple buildfix

* This typo again..

* UWP buildfix

* Fix build of PPSSPPQt, such as it is (it's not in good condition...)

* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
f01ba6dc84 Move NativeApp.h to Common/System, split into NativeApp.h and System.h
Buildfix
2020-10-04 11:42:16 +02:00
Henrik Rydgård
b7edf75437 Move Display.cpp/h to Common. 2020-10-04 11:42:16 +02:00
Henrik Rydgård
821817e6d4 Move the profiler to Common 2020-10-04 11:42:16 +02:00
Henrik Rydgård
9e41fafd0d Move math and some file and data conversion files out from native to Common.
Buildfixing

Move some file util files

Buildfix

Move KeyMap.cpp/h to Core where they belong better.

libretro buildfix attempt

Move ini_file

More buildfixes
2020-10-04 09:12:46 +02: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
Henrik Rydgård
342ed97291 Move input utilities from native to Common/Input. 2020-10-01 09:42:32 +02:00
Henrik Rydgård
15382d5f94 Move threading utils from native to Common 2020-10-01 09:27:25 +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
Henrik Rydgård
3162f30158 Merge base/basictypes.h into Common/Common.h (mostly). 2020-09-29 15:51:51 +02:00
Henrik Rydgård
ed88761ecc Merge ext/native/stringutil.cpp/h into Common/StringUtils.cpp/h. 2020-09-29 15:51:51 +02:00
Henrik Rydgård
054acf768c Don't cache time in a variable.
A little weirdness in the code that has stuck around for a long, long
time. It's really not necessary and mostly just confusing.
2020-09-24 23:52:43 +02:00
Henrik Rydgård
84b36d6e61 Speed up game start under Windows by not filling the symbol listbox until the disasm window is opened. 2020-09-24 00:32:52 +02:00
Henrik Rydgård
6ac9dfe6b5 Windows debugger: Clean out old remains of multi-cpu support 2020-09-24 00:32:52 +02:00
Henrik Rydgård
4ccde48485
Merge pull request #12924 from iota97/user-chain
Postprocessing: User chain support
2020-09-22 09:20:51 +02:00
iota97
fe86f257b5 Cache 60 FPS requirement 2020-09-15 07:49:01 +02:00
iota97
0c885db052 User chain support 2020-09-13 21:48:00 +02:00
Henrik Rydgård
cea35007ae Always use a linear filter for video, unless forcing NEAREST filtering. 2020-09-13 16:40:37 +02:00
Henrik Rydgård
a6084f6fee
Merge pull request #13420 from hrydgard/framebuffer-simplify
Framebuffer manager refactor: Don't cache framebuffer information in TexCacheEntry
2020-09-13 16:40:17 +02:00
shenweip
fbea8f438d Update symbol list of disassembly window when loadexec. 2020-09-12 19:45:25 +08:00
Henrik Rydgård
a24e2e6946 Minor cleanups in CaptureDevice 2020-09-12 12:30:44 +02:00
Unknown W. Brackets
b92fab88b6 Debugger: Add formats to breakpoint logging. 2020-09-06 13:56:18 -07:00
Unknown W. Brackets
6b8f7294b3 Global: Remove ARM64 define.
Was barely used anymore, and some users are specifying it when it's not
the case, so better to detect consistently.
2020-08-29 08:45:50 -07:00
Henrik Rydgård
0752e7d158
Merge pull request #13302 from unknownbrackets/net-local
Net: Simplify local IP lookup and cleanup instance counter a bit
2020-08-18 21:29:29 +02:00
Unknown W. Brackets
b0ca635414 Windows: Show instance counter only with peers. 2020-08-18 06:59:49 -07:00
Henrik Rydgård
60801e066f Improve JPEG file detection (mainly for background image use) 2020-08-18 15:31:16 +02:00
Unknown W. Brackets
495996e58b Windows: Make the instance counter go by 1, 2, 3. 2020-08-18 00:47:22 -07:00
Henrik Rydgård
06ab2159e9 Windows: Auto-enable GL validation (debug messages) in debug builds 2020-08-18 09:18:50 +02:00
Henrik Rydgård
5d64fc5ff1 Switch to PPSSPP's assert functions (don't use the system's) 2020-08-16 10:01:10 +02:00
Henrik Rydgård
80aa527f1a
Merge pull request #13288 from hrydgard/move-timeutil
Move timeutil to Common. (Experiment to see how much work it is to move these).
2020-08-15 23:44:23 +02:00
Henrik Rydgård
761ea58fb8 Merge branch 'cmake' of https://github.com/Kingcom/ppsspp into Kingcom-cmake 2020-08-15 21:35:46 +02:00
Henrik Rydgård
ccc0331279 Move timeutil to Common. (Experiment to see how much work it is to move these). 2020-08-15 20:53:08 +02:00
Henrik Rydgård
f0d2f24658 Finally delete base/logging.cpp/h. Carefully preserve behaviour on Android.
There's more cleanup to do ...
2020-08-15 19:09:09 +02:00
Henrik Rydgård
3c412ea21e Fix build of ZimTool/AtlasTool. Had to break the ugly backwards dependency from LogManager to g_Config. 2020-08-15 19:09:09 +02:00
Henrik Rydgård
c41f875df4 Remove base/logging.h in a whole lot more places. 2020-08-15 19:09:00 +02:00
Henrik Rydgård
b43698a13d Remove most instances of base/logging.h from Common, Core, GPU, more 2020-08-15 19:08:44 +02:00
sorgts
a8a1c67df0 Fix build with clang-cl 2020-08-13 16:48:48 +02:00
sorgts
60d249a909 Fix Windows/CMake build with Visual Studio 2020-08-13 16:47:22 +02:00
Unknown W. Brackets
a0f8e788f3 Global: Move string number parse to text/parsers.
It's not used as much as the other string utils.
2020-08-10 07:05:23 -07:00
Unknown W. Brackets
e59951382a Global: Make stringutil includes more explicit. 2020-08-10 07:05:22 -07:00
Unknown W. Brackets
1dc5ee424b SaveState: Split out Do types to reduce headers. 2020-08-10 08:03:44 +00:00
Henrik Rydgård
e6dfb55d3d Optimize value conversion in (unused) depth readback.
This also exposes factors we can feed into shaders to do the conversion
on the GPU.
2020-08-09 10:47:01 +02:00
Henrik Rydgård
d57edfbdac Rename FramebufferCommon.cpp/h to FramebufferManagerCommon.cpp/h for consistency 2020-08-03 23:17:22 +02:00
Henrik Rydgård
45b05b386b
Merge pull request #13229 from shenweip/UsbMic
Add basic Microphone support on Windows.
2020-08-01 19:26:35 +02:00
shenweip
5de721bb4c minor fix 2020-08-01 19:50:23 +08:00
shenweip
94aaf21ef2 Use UTF-8 code page to get the device names. 2020-07-31 10:25:26 +08:00
shenweip
c7e2eba231 Add basic Microphone support on Windows. 2020-07-31 10:24:17 +08:00
Henrik Rydgård
73166def93 Android: Reduce asserts during startup. 2020-07-28 19:06:29 +02:00
Henrik Rydgård
aebbff55f1 Some renaming and cleanup in the Android audio code 2020-07-28 14:24:40 +02:00
ANR2ME
33d3ac28de Added UPnP Support
Fix i18n type
2020-07-21 23:02:58 +02:00
Henrik Rydgård
3c29545014 Windows: Add command to load up a new identical instance of PPSSPP.
Useful for debugging adhoc multiplayer locally with the new multi-instance support.
2020-07-20 23:27:17 +02:00
Henrik Rydgård
fa0b9dc1bc Make the instance counter global and initialized at startup.
Turn off config saving for secondary instances.
2020-07-20 11:40:54 +02:00
Henrik Rydgård
47a3bf1dd7 Step 2 of removing PanicAlert 2020-07-19 20:34:02 +02:00
Henrik Rydgård
c5e0b799d9 Remove category from _assert_msg_ functions. We don't filter these by category anyway.
Fixes the inconsistency where we _assert_ didn't take a category but
_assert_msg_ did.
2020-07-19 20:33:25 +02:00
Henrik Rydgård
21f99259f3 Eliminate an unnecessary global g_Vulkan. 2020-07-18 22:50:26 +02:00
Henrik Rydgård
05ba88d20c Windows/Vulkan: Don't destroy the surface during resize, no need. 2020-07-18 21:43:27 +02:00
Henrik Rydgård
1897eed9b4 More buildfixes 2020-07-18 21:43:13 +02:00
Henrik Rydgård
e48cb916dd Buildfix 2020-07-18 20:43:47 +02:00
Henrik Rydgård
697c3b8b36 Cleanup log output on swapchain/surface recreation. 2020-07-18 20:35:39 +02:00
Henrik Rydgård
82bc6f6cc5 Windows ARM fix, cleanup 2020-07-14 13:47:25 +02:00
Henrik Rydgård
92778675df
Merge pull request #12879 from unknownbrackets/init-crash
Windows: Make init crash warnings more generic
2020-07-13 19:43:25 +02:00
Henrik Rydgård
b58ca8af12
Merge pull request #12945 from unknownbrackets/io-timing
Make file open timing a bit more accurate
2020-07-13 13:37:53 +02:00
Henrik Rydgård
efc3f4f5e4 Split CORE_ERROR into CORE_BOOT_ERROR and CORE_RUNTIME_ERROR 2020-07-12 15:25:20 +02:00
Henrik Rydgård
cd1d73436d Vulkan: Recreate the swapchain if we get too many "out of date" frames.
Should help an issue on my Linux laptop with Intel GPU.
2020-06-22 00:45:05 +02:00
Henrik Rydgård
fbc4fa5bca Move the responsibility to register the debugutils callback to the VulkanContext. We only use one anyway. 2020-06-21 23:04:51 +02:00
Henrik Rydgård
6532c345c8 Simplify the validation interface code, bugfixes 2020-06-21 23:04:51 +02:00
Henrik Rydgård
1793b65ec1 Vulkan: Remove support for the old VK_EXT_debug_report extension 2020-06-21 23:04:51 +02:00
Henrik Rydgård
4e7944a353 Fix some bugs and style for #12994 2020-06-06 14:29:39 +02:00
Nikita Filippov
021e783b4a rudimentary serch function added for the memory dialog
fixed the memory addressing bug in search

the search box almost works

search now works, however the strings in search window neeed a fix

fixed the address display in search results

search works

fixed review comments, except .rc

preadjust the button placement

fixed rc
2020-06-06 14:23:26 +02:00
Unknown W. Brackets
1b6b0c1649 UWP: Buildfix for controller vibration. 2020-05-25 09:44:05 -07:00
Henrik Rydgård
104bf3915e
Merge pull request #12956 from unknownbrackets/project
Cleanup MSVC project a little and move git-version-gen
2020-05-24 11:03:26 +02:00
Unknown W. Brackets
bf11829836 Windows: Avoid calling git describe 3 times.
We only need to call it once per build, which should save a little build
time.  Of course, cl.exe takes longer, but still...
2020-05-23 16:56:27 -07:00
Unknown W. Brackets
9064bbcad1 Windows: Move git-version update to build event.
Doing it on each project made it possible for two to overwrite each other.
It's rare, but this could corrupt git-version.cpp.

This makes it run when Core is resolved, and also on Windows/Headless only.
It may still require two compiles to update, but that's not a new problem.
2020-05-23 13:34:41 -07:00
Unknown W. Brackets
2a2584ec23 Global: Add more other platforms to MSVC project.
To facilitate refactoring/searching files better.
2020-05-23 13:09:52 -07:00
Unknown W. Brackets
4c29697120 Debugger: Avoid symbol map if deleted.
This isn't perfectly safe, but if the game quits very quickly, it's
possible for the symbol map to get deleted.
2020-05-23 10:26:47 -07:00
Unknown W. Brackets
0f1f3507f6 Windows: Ask for a specific device on failure.
In case the new rules make things fail unexpectedly.
2020-05-22 00:19:59 -07:00
Unknown W. Brackets
9d1e31f6a0 Windows: Avoid WASAPI init for a bad format. 2020-05-21 23:39:29 -07:00
Unknown W. Brackets
cd90fb4d69 Windows: Avoid crash for a mono output format.
Let's just assume we're only going to get stereo formats.
2020-05-21 23:37:27 -07:00
Unknown W. Brackets
49abe9ed6c Io: Open sce_lbn references and whole ISO faster. 2020-05-21 18:58:24 -07:00
Unknown W. Brackets
477e988a68 GPU: Allow postshaders to have parents. 2020-05-16 12:33:35 -07:00
Henrik Rydgård
5e7a837ff9 Display the savestate slot number when saving and loading state through shortcuts. 2020-05-16 15:20:22 +02:00
Unknown W. Brackets
b6b0f11f6c UI: Allow postshaders on D3D9.
Since they work now - at least, some of the shaders do.
2020-05-13 18:10:09 -07:00
Unknown W. Brackets
03fc86a147 UI: Return to game settings after restart.
This is more convenient.  Also restarts the game if needed.

Added a way to pass args to Android here as well, and fixed displaying an
error if the shortcut file doesn't exist on Android (like if you deleted
it after creating the shortcut.)
2020-05-09 13:53:42 -07:00
Unknown W. Brackets
dddaa57392 Windows: Fix GL reinit on backend switch. 2020-05-09 12:20:42 -07:00
Unknown W. Brackets
9573e7216b Windows: Make init crash warnings more generic.
Let's not trap ourselves in the mindset that it MUST be graphics.
2020-05-08 23:24:19 -07:00
Unknown W. Brackets
b3b86bc2c2 Windows: Add safety checks to WASAPI code.
Seems to be crashing for some users.
2020-05-08 00:55:21 -07:00
Henrik Rydgård
134c9cfcb2
Merge pull request #12837 from Florin9doi/vs_pr
Update VS projects
2020-04-21 00:29:04 +02:00
Henrik Rydgård
5fbe369fd0
Merge pull request #12836 from unknownbrackets/d3d-depth
D3D11: Always use accurate depth
2020-04-19 14:02:50 +02:00
Florin9doi
7c92b1abda update VS projects 2020-04-19 09:19:13 +03:00
Unknown W. Brackets
4c5ed9f6aa Windows: Send resize when adjusting render mode.
If we flip this because of frameskip, we need to actually process.
2020-04-18 22:32:48 -07:00
TotalCaesar659
bbc6337263 Add "Switch UMD" menu point to Linux version 2020-04-18 21:08:20 +03:00
LunaMoo
e999444b23 Implement PPSSPP specific cheats:
0xA0 vibration cheat(Xinput)
Syntax is: 0xA0NNLLLL 0x00MMRRRR
where NN/MM is time vibration lasts LLLL/RRRR is the vibration power

0xA1 read value for the vibration(Xinput) from game memory
Syntax is: 0xA1000000 0xNNNNNNNN
where NNNNNNNN is the address that stores following values at offset:
0xNNNNNNNN + 0x0 Left Vibration power,
0xNNNNNNNN + 0x2 Right Vibration Power
0xNNNNNNNN + 0x4 Left Vibration time
0xNNNNNNNN + 0x6 Right Vibration time

Left some room for other PPSSPP specific cheats(0xA2-0xAF)
2020-04-16 23:00:29 +02:00
Unknown W. Brackets
fd0bf21215 Windows: Prevent applying -1 as inset space. 2020-04-05 17:06:36 -07:00
Unknown W. Brackets
84981631ea Windows: Ensure we resize after hw transform swap. 2020-04-05 15:23:46 -07:00
Unknown W. Brackets
de7aa5b64e Windows: Show a message when failing over backend.
Best that we make sure people know when this has happened, probably.

Also, fix the fallback to OpenGL, which was broken on Windows.
2020-03-28 06:19:11 -07:00
Henrik Rydgård
310e1e4f18 Fix capitalization of mfreadwrite.h include 2020-03-10 15:20:13 +01: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
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
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
Unknown W. Brackets
051a84e9bd GPU: Restart when changing inflight frames setting.
We need to keep the push and pull in step, so changing at runtime is
messy.
2020-03-02 19:21:15 -08:00
ANR2ME
142e60974c Merge branch 'rechat' of https://github.com/adenovan/amultios-ppsspp into rechat 2020-03-02 22:25:18 +07:00
Henrik Rydgård
45d94c4877 Switch all images to dynamic lookup in the atlas by string ID.
SLN fix

It works, but with the wrong images and the wrong characters!

Fix another bug in atlastool's binary output

Get Android building again.

Oops, didn't mean to disable this permanently.

Error checking

Minor cleanup

Gotta tweak my git ignores...

Regenerate metadata
2020-03-01 12:06:47 +01: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
bc90faebf7 D3D9: Allow vsync change at runtime. 2020-02-29 22:48:58 -08:00
Unknown W. Brackets
6f86b6fdbe D3D11: Respect vsync setting.
Fixes #12493.
2020-02-29 22:48:58 -08: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
Henrik Rydgård
aea3cf74f0 Remove support for "lowmem" UI atlas. Had to regenerate unfortunately. 2020-02-29 19:00:52 +01:00
Henrik Rydgård
d35fd5040d Delete unused support for ETC1 texture compression 2020-02-29 17:50:35 +01:00
Henrik Rydgård
e4cf97557a Recreate the VS projects in 2017 2020-02-29 16:56:28 +01:00
Henrik Rydgård
2bf92c5d97 Atlastool/zimtool: Make it easy to build these on Windows (prebuilt submodule) 2020-02-29 12:19:08 +01:00
Florin9doi
58b04ef77b QT Api for Camera (Linux/macOS)
Allow the use of different resolutions (win/android/iOS)
2020-02-10 08:47:55 +02:00
Unknown W. Brackets
5009698cc0 Core: Use a shared_ptr for i18n categories.
This does not make them thread safe, but it reduces the chances of a crash
a bit (see #12594.)
2020-02-09 07:35:16 -08:00
李通洲
55bb58e13e
NativeApp: add System_GetPropertyFloat all the places 2020-02-04 09:20:34 +08:00
shenweip
3f585782f1 Don't shut down camera when exiting games,also re-enumerating devices if
received WM_DEVICECHANGE.
2020-01-24 16:05:28 +08:00
Henrik Rydgård
97c81ac5a2 Partial workaround for #12588. Cameras are now gone from settings though after playing one game... 2020-01-21 20:57:26 +01:00
Florin9doi
09e32223c2 Add camera support for linux (V4L2) 2020-01-16 23:25:34 +02:00
Henrik Rydgård
96e7281b20
Merge pull request #12572 from shenweip/Capture_Win
Add camera support for windows.
2020-01-15 20:03:10 +01:00
shenweip
d1e354ce04 Improve compatibility.
Don't implemente on vista and UWP,they don't have a full support for this.
2020-01-14 17:15:11 +08:00
shenweip
5c4a1e00fc BuildFix 2020-01-14 08:19:44 +08:00
shenweip
034a257baf Add camera support for windows. 2020-01-13 15:06:02 +08:00
Tamás
91f491a0a8
Upload new Gold icon for Windows
Includes 256x256 size.
2020-01-12 10:11:41 +01:00
Unknown W. Brackets
9b745d4730 Windows: Mark PPSSPP as long path aware.
Fixes #12503, but must be enabled.
2020-01-04 11:15:34 -08:00
Unknown W. Brackets
5b5ded058c Windows: Support long My Documents paths. 2020-01-04 10:57:23 -08:00
Unknown W. Brackets
9ff95edb89 Windows: Allow longer paths in browse for folder. 2020-01-04 10:33:19 -08:00
Unknown W. Brackets
6706fef58a Windows: Make memory dump long path friendly. 2020-01-04 10:32:48 -08:00
Unknown W. Brackets
c222ff0bf7 Windows: Allow read only files in load dialog. 2020-01-04 09:35:00 -08:00
Unknown W. Brackets
97ac18ceee Windows: Make open/save dialogs long path aware.
At least, in most cases.  If the filename is super long, it'll open twice,
but we try to avoid.
2020-01-04 09:34:20 -08:00
Unknown W. Brackets
46464d2722 Windows: Resolve module/full paths for long paths. 2020-01-04 09:02:10 -08:00
Henrik Rydgård
4f7c23fe79 DarkStalkers: Fix display on OpenGL ES. 2019-10-27 20:54:36 +01:00
Henrik Rydgård
767b1e45b2 Fix the build - there's a Vec3 name collision, fixed it using a namespace. 2019-10-22 22:58:10 +02:00
Henrik Rydgård
cb463b569a WASAPI: Discovered by chance that pwstrDeviceId can be null. Treating it as a new device. 2019-10-11 14:29:02 +02:00
Unknown W. Brackets
2eee84b5ce Switch: Add basic defines for checks/reporting. 2019-09-28 09:00:20 -07:00
Henrik Rydgård
f57b8b19d2 Windows: Kill the mouse wheel release timer after it's used to prevent spamming keyup events. 2019-09-03 00:02:03 +02:00
Henrik Rydgård
7610220b30 Vulkan: Prepare for adding a second init path for VulkanContext.
Will eventually be used for libretro.
2019-09-01 22:21:19 +02:00
Henrik Rydgård
c619a20a65 Fix display of memory view window on high-DPI displays. Fixes #11913. 2019-08-23 16:01:27 +02:00
Henrik Rydgård
3bc3f3e969 WASAPI: Add some missing error checks. May help #12081? (but will result in silence) 2019-08-09 10:04:09 +02:00
LunaMoo
6a37389b5e Move WM_MOUSEWHEEL back to WndProc to fix wheel events not working in Win 7. 2019-07-31 13:04:26 +02:00
LunaMoo
1f64e81f9e Update all values for mouse axis. 2019-07-15 02:45:08 +02:00
Silent
0621dbb487
Simplify synchronization model in InputDevice.cpp - replaced volatile flags/mutex/condition variable with joining on thread and one atomic flag 2019-07-02 19:17:52 +02:00
Silent
0b5458f759
Remove KeyboardDevice which was essentially useless
Refactor InputDevice to simplify it
2019-07-02 19:17:52 +02:00
Silent
1acaec2494
Support falling back to xinput9_1_0.dll if neither xinput1_4.dll or xinput1_3.dll are present. This can happen on a Windows XP, Vista or 7 PC without DirectX End-User Runtimes installed.
Clean up XinputDevice.cpp from unused imports
2019-07-02 19:17:52 +02:00
Silent
71ab845564
Windows: Fix an exit crash by not destroying the window in CGEDebugger destructor - this window (and displayList) have already been destroyed and freed at that point 2019-07-02 19:17:44 +02:00
Unknown W. Brackets
7588a9760e Windows: Fix Vulkan out of process check.
Oops, forgot to actually pass false after adding this argument...
2019-06-30 23:45:14 -07:00
Henrik Rydgård
e8aad38e77
Merge pull request #12139 from unknownbrackets/win-minor
Windows: Fix leak on folder browse
2019-06-27 09:19:12 +02:00
Unknown W. Brackets
ceb59c4649 Windows: Fix leak on folder browse. 2019-06-26 22:19:38 -07:00
Henrik Rydgård
aff429ee09 For the non-vulkan backends, zero display rotation settings just to be sure. 2019-06-24 10:30:32 +02:00
Henrik Rydgård
068ec3059b
Merge pull request #12118 from unknownbrackets/gpu-config
Add a hidden ini setting to disable graphics backends
2019-06-22 22:46:06 +02:00
Unknown W. Brackets
504acf15de Core: Allow for disabling graphics backends.
Mainly for Vulkan, since sometimes even mobile drivers crash when we ask.
This at least provides options.

Also centralizes support checks.
2019-06-22 12:49:01 -07:00
LunaMoo
b53e80c5aa Fix mouse scroll by releasing with a delay using timer(16ms)
Also moved WM_MOUSEWHEEL to DisplayProc where it works fine now.
2019-06-18 02:15:00 +02:00
LunaMoo
da031ebbdb Fix avi dump via render buffer instead,
with an option to use output buffer since recording with
post process effects will often be desirable.
2019-06-04 07:54:17 +02:00
LunaMoo
57bd3c63f4 Block savestates OSM when video frames are dumped.
Also make the dump messages shorter,
especially dump start since it will be recorded.
2019-05-27 23:43:39 +02:00
Silent
bb2ba8086b
Improved Show in Folder:
- Not spawning cmd.exe anymore, rather using the same way Chromium does to spawn a shell window with a file focused
- Hid a nonfunctional "Show In Folder" button for UWP builds
2019-05-23 19:59:08 +02:00
Henrik Rydgård
f7a2fc963d Vain attempt to make the Windows buildbot happy, after LunaMoo's comment in #12052 2019-05-20 10:57:37 +02:00
Henrik Rydgård
7218bda9a5 Oops, this was left for debugging. 2019-05-19 16:03:18 +02:00
Henrik Rydgård
efa1406d8f VS2017: Add hack to automatically select the newest installed Windows 10 SDK. VS2019 already does this by default if you specify 10.0.
Should hopefully fix the buildbot.
2019-05-19 15:23:25 +02:00
Henrik Rydgård
33c53eebe9 D3D11 init: Release pFactory at the appropriate place. 2019-05-16 00:37:06 +02:00
Henrik Rydgård
6117e37a14 D3D11: Also properly check for the no-adapters case. 2019-05-15 22:58:45 +02:00
Henrik Rydgård
0320b4961b Add a missing error check to the D3D11 device creation. May help #12039? 2019-05-15 22:55:24 +02:00
Henrik Rydgård
ff7a85cc2f
Merge pull request #12032 from driver1998/d3dcompiler
POC: D3DCompiler on D3D9
2019-05-14 22:54:30 +02:00
driver1998
cdaa8d2609 fix git-version-gen on normal commits (without tag) 2019-05-13 19:05:57 +08:00
LunaMoo
2da9de9fe7 Fix typo which disabled GEDebugger 2019-05-12 17:50:25 +02:00
driver1998
21d2008676 Use D3DCompiler_47.dll for D3D9 context. 2019-05-12 11:17:10 +08:00
Henrik Rydgård
ff65b813d9 Assorted warning fixes 2019-05-10 23:26:34 +02:00
Henrik Rydgård
2f26297062 Clean up some more ifdefs 2019-05-10 23:25:57 +02:00