Unknown W. Brackets
af3d699d5e
SDL: Ignore commas in joystick names.
...
Otherwise default mapping will break and parse wrong.
2021-05-21 09:13:15 -07:00
Henrik Rydgård
f4a6d291e1
Common: Capitalize setCurrentThreadName().
2021-04-30 23:02:36 -07:00
Henrik Rydgård
6a3856674c
SDL: Fix use after free on shutdown
2021-03-11 23:13:57 +01: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
Henrik Rydgård
bd7b283399
Add iOS version detection, turn off JIT on bootup if >= 14.3.
2021-02-22 09:16:51 +01:00
Unknown W. Brackets
8f452fee23
SDL: Init profiler on SDL/Qt.
2021-02-18 22:59:56 -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
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
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
Henrik Rydgård
f0ea814107
Merge pull request #13515 from dos1/touch
...
SDL: Implement multitouch support
2020-10-06 20:47:11 +02:00
Henrik Rydgård
44a93f98ed
SDL: Apply patch from issue #13516 , fixing issue with Wacom tablets with readonly flags set.
2020-10-06 16:58:32 +02:00
Sebastian Krzyszkowiak
99d0df0784
SDL: Implement multitouch support
...
Pass proper touch events instead of merely emulating a mouse. Also,
disable SDL's built-in mouse emulation (added in SDL 2.0.10).
Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
2020-10-06 04:51:36 +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
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
Henrik Rydgård
0d3a5a27aa
Merge pull request #13485 from unknownbrackets/minor
...
Adjust locale parsing for Ubuntu and fix memory assert
2020-09-27 23:31:26 +02:00
Unknown W. Brackets
ab953603d8
SDL: Adjust locale parsing for Ubuntu.
...
Technically, the format of this value is unspecified, but we are just
trying to guess the user's locale.
See #13042 .
2020-09-27 12:55:02 -07: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
5d64fc5ff1
Switch to PPSSPP's assert functions (don't use the system's)
2020-08-16 10:01:10 +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
80e0f85332
Getting really close to getting rid of base/logging.h now.
...
Qt buildfix
2020-08-15 19:09:01 +02:00
Henrik Rydgård
b22083e7a6
Even more base/logging.h removal and fixes
2020-08-15 19:09:01 +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
14532847c7
Fix some minor issues found by address-sanitizer on Linux
2020-08-11 22:28:36 +02:00
Henrik Rydgård
6560192d8e
Support full VSync control in SDL OpenGL.
...
(Not yet Qt).
Forgot about iOS
SDL headless buildfix
Additional iOS buildfix
2020-07-19 12:07:16 +02:00
Henrik Rydgård
49d9caeb0d
SDL: Avoid destroying the surface on resize.
2020-07-18 20:40:20 +02:00
Henrik Rydgård
697c3b8b36
Cleanup log output on swapchain/surface recreation.
2020-07-18 20:35:39 +02:00
Henrik Rydgård
3691cc990f
Merge pull request #13052 from hrydgard/sdl-resize-fixes
...
Partly clean up SDL resize code, should help #11974
2020-06-24 01:36:38 +02:00
Henrik Rydgård
f9cef5b6b2
Partly clean up SDL resize code, should help #11974
2020-06-24 01:06:01 +02:00
Henrik Rydgård
7180c2a4c2
Enable Vulkan validation in SDL debug builds
2020-06-23 21:57:02 +02:00
Henrik Rydgård
8b98047502
Finish the Linux part of this change
2020-06-22 00:54:51 +02:00
Henrik Rydgård
3d743a5ae7
Buildfixes
2020-06-22 00:01:31 +02:00
Henrik Rydgård
6532c345c8
Simplify the validation interface code, bugfixes
2020-06-21 23:04:51 +02:00
Unknown W. Brackets
b46bf8e4e7
SDL: Try to continue if EGL init fails.
...
Probably we should just stop using EGL on SDL2, but I'm not sure if
that's making things work for some users. But if EGL init fails, try
to avoid a segfault and skip EGL.
Should help #12474 .
2020-05-23 16:26:47 -07:00
Henrik Rydgård
2b605f1370
Merge pull request #11876 from AreaScout/master
...
Fix: touchscreen evens on upcomming SDL2 versions which includes the …
2020-05-17 18:35:39 +02:00
Henrik Rydgård
3f74ffbdf5
Reduce the SDL audio buffer size, 2048 is a bit excessive. Port the changes to the Qt SDL code.
2020-05-17 11:50:34 +02:00
Henrik Rydgård
06c22497b7
SDL: If we get an audio device with a different freq than 44100, that's actually OK.
2020-05-17 10:21:02 +02:00
Henrik Rydgård
b6a051dd49
Fix comment
2020-05-16 19:47:12 +02:00
Henrik Rydgård
caf8e5496d
SDL: Show the actually used sample rate in system info.
...
Right now it'll always be the requested 44100 though anyway.
2020-05-16 17:46:21 +02:00
Florin9doi
bc948b9b94
iOS/macOS : set bundle version
2020-05-01 21:36:55 +03:00
AreaScout
e673d74646
Fix: touchscreen evens on upcomming SDL2 versions which includes the same functionality but inside the library
2020-04-27 10:31:21 +00:00
Unknown W. Brackets
fd0bf21215
Windows: Prevent applying -1 as inset space.
2020-04-05 17:06:36 -07:00
M4xw
fe32ad88fb
Core: Add some libnx calls for Switch.
2020-03-15 07:56:38 -07:00
Henrik Rydgård
875d53a485
Merge pull request #12612 from iota97/sdl-mouse
...
SDL analog mouse input
2020-03-05 17:23:08 +01:00
iota97
80effb6b68
Let's wait 5 frames
2020-03-05 16:36:26 +01:00