Commit Graph
2216 Commits
Author SHA1 Message Date
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 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