Commit Graph

691 Commits

Author SHA1 Message Date
Henrik Rydgård
a831cab14c
Remove unmotivated check preventing texture ini creation on mobile. (#15647)
* Remove unmotivated check preventing  texture ini creation on mobile.

Fixes #15644

* Show a "toast" message on platforms that don't support opening a text editor, when you try to create/open a texture ini file.

* Avoid the need to ifdef around calls to SystemToast

* UWP buildfix (and some warning fixes).

And possibly libretro fix

* Rename for a bit more consistency
2022-07-10 22:34:44 +02:00
Unknown W. Brackets
3edf6ab0fa Config: Don't save --fullscreen unless changed.
This makes --fullscreen and --windowed temporary by using a separate
setting.  If the setting is changed explicitly, it begins saving it again.
2022-05-28 15:47:12 -07:00
Unknown W. Brackets
170441313c Net: Ignore SIGPIPE errors on POSIX systems.
This should work on BSD/macOS/Linux/iOS/similar.
2022-04-03 06:57:45 -07: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
Cameron Cawley
26203552b4 Use System_GetPropertyInt to report the keyboard layout 2022-01-10 00:11:08 +00:00
Henrik Rydgård
11eb5fa0c2
Merge pull request #15002 from unknownbrackets/ui-open-memstick
UI: Add button to show memstick folder
2021-10-19 19:55:30 +02:00
Unknown W. Brackets
8e15f755e6 UI: Add a sysprop for if the device has a keyboard.
Still left some ifdefs because of System_InputBoxGetString(), but
hopefully we can move away from them.  Some devices (like SDL) may only
optionally have a keyboard, so it's a runtime check.
2021-10-19 10:01:52 -07:00
Unknown W. Brackets
450b59809b Qt: Allow opening game folder. 2021-10-19 10:01:27 -07:00
Unknown W. Brackets
451b996713 Qt: Remove auto texture scaling option.
Functionality removed in 887f610.
2021-10-05 19:33:26 -07:00
iota97
d489c099a7 Qt as well 2021-09-15 17:43:59 +02:00
Henrik Rydgård
0328816870 Rename g_Config.externalDirectory to defaultCurrentDirectory - since that's what it was.
Also make currentDirectory a Path, and add support for Path config
parameters.

Buildfixes

More Qt buildfixes

Oops, didn't mean to change zstd ver
2021-05-30 00:49:47 +02:00
Unknown W. Brackets
b74ecd5fa0 SaveState: Use Path instead of strings. 2021-05-14 23:00:22 -07:00
Unknown W. Brackets
c03e68c996 Debugger: Simplify symbol map filename build. 2021-05-14 22:48:32 -07:00
Henrik Rydgård
8727679353 Clean up PathBrowser a bit
Fix UWP build

Fix booting homebrew.

Qt buildfix
2021-05-13 10:39:16 +02:00
Henrik Rydgård
a40b1dec5f Use Path for fullName in dirlisting. Bugfixes.
Buildfixes

UWP: Buildfix.

headless: Buildfix.

Common: Buildfix.

iOS: Buildfixes.

libretro: Buildfix.

Qt: Buildfix.
2021-05-13 10:39:16 +02:00
Henrik Rydgård
f4a6d291e1 Common: Capitalize setCurrentThreadName(). 2021-04-30 23:02:36 -07: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
TotalCaesar659
ce18c23790
Fix "Enable chat" in Linux Qt build 2021-02-17 21:30:52 +03: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
2c4a42a695 UWP: Make the home button say "Home" instead of "Browse...". 2020-12-20 01:47:49 +01:00
Henrik Rydgård
32c9728c0c Some cleanups in GL feature and shader language detection.
Gets rid of many wrong or bad checks for IsCoreContext.
2020-12-14 19:46:11 +01:00
iota97
6cf261a0f7 Fix off by one 2020-11-06 10:53:57 +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
iota97
4c0908ef44 Make Qt apply fullscreen change from UI as well 2020-10-10 16:26:07 +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
shenweip
fbea8f438d Update symbol list of disassembly window when loadexec. 2020-09-12 19:45:25 +08: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
b43698a13d Remove most instances of base/logging.h from Common, Core, GPU, more 2020-08-15 19:08:44 +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
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
TotalCaesar659
5f073d24ba
Fix radio button in "Window size" menu 2020-07-03 21:03:14 +03:00
Jan Beich
cad7603ccd Qt: unbreak build without SDL
Qt/QtMain.cpp:51:1: error: unknown type name 'SDL_AudioSpec'
SDL_AudioSpec g_retFmt;
^
1 error generated.
2020-06-27 18:48:16 +00: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
c4f1143adc Qt fix 2020-05-16 19:04:41 +02:00
Florin9doi
bc948b9b94 iOS/macOS : set bundle version 2020-05-01 21:36:55 +03:00
TotalCaesar659
bbc6337263 Add "Switch UMD" menu point to Linux version 2020-04-18 21:08:20 +03:00
TotalCaesar659
00684a4bb9 Improve code readability 2020-04-18 02:46:11 +03:00
TotalCaesar659
cd4dd73a8a Update more Linux version menu points to correspond to Windows ones 2020-04-16 19:49:18 +03:00