Henrik Rydgård
5e36acb9eb
Remove Host::UpdateSound
2023-03-25 10:18:29 +01:00
Henrik Rydgård
1250692657
Convert host->SetWindowTitle to a request
2023-03-24 17:52:01 +01:00
Henrik Rydgård
a5fdf3d05b
Add samplerate argument to NativeMix
2023-03-24 14:48:53 +01:00
Henrik Rydgård
e21867315b
Fix browsing for Cheat DB files. Easy now after the refactor!
2023-03-23 10:18:21 +01:00
Henrik Rydgård
b440e28e38
Remove System_SendMessage!
...
iOS, Qt buildfixes
2023-03-22 23:52:51 +01:00
Henrik Rydgård
4c99712b60
And "immersive", "audio_resetDevice"
2023-03-22 23:52:38 +01:00
Henrik Rydgård
87d0c21f14
Make proper requests for the external hardware commands (gps, microphone, camera)
2023-03-22 23:52:25 +01:00
Henrik Rydgård
5a55fd5fd3
And replace "graphics_restart", "toggle_fullscreen", etc
2023-03-22 23:52:15 +01:00
Henrik Rydgård
410b35fba3
Get rid of "finish" and "setclipboardtext" messages, replace with requests.
2023-03-22 22:17:26 +01:00
Henrik Rydgård
b7350f3cbf
Fix folder browser on Android and Windows
2023-03-22 19:25:35 +01:00
Henrik Rydgård
9508ef467e
Port folder browser too, now this time start with Qt
2023-03-22 19:25:35 +01:00
Henrik Rydgård
1c79fd8cf4
Fix Qt file browser, use to implement image browser
2023-03-22 15:52:25 +01:00
Henrik Rydgård
70f0ac04af
Port the file browser spawned by the Load button to the new request stuff
2023-03-22 15:36:14 +01:00
Henrik Rydgård
cc7b9569f2
Fix InputBox in Qt
2023-03-22 14:39:57 +01:00
Henrik Rydgård
604f3b4500
Try to fix Qt. Still broken due to threading issue.
2023-03-22 14:30:44 +01:00
Henrik Rydgård
de064e210e
Replace the inputbox queue with a more generic RequestManager.
2023-03-22 12:41:11 +01:00
Henrik Rydgård
f60f5ccaea
Move SetDebugMode notification
2023-03-21 13:39:00 +01:00
Henrik Rydgård
c92a4acb40
Move NotifySymbolMapUpdated to System_Notify
2023-03-21 13:37:19 +01:00
Henrik Rydgård
06fcc9ccd7
Add System_Notify
2023-03-21 13:37:16 +01:00
Henrik Rydgård
d3955b42bb
Rename some system functions, merge the Launch* ones.
...
android launchurl buildfix
2023-03-21 12:22:59 +01:00
Henrik Rydgård
a9eaa4fdc8
Get rid of an ifdef
2023-03-21 10:24:36 +01:00
Henrik Rydgård
8b431b39ba
Wrap the display globals in a struct ( #16998 )
...
* Wrap the display globals in a struct
Makes it easier to search/replace these, for future refactorings.
* Some renaming
* Qt buildfix, also fix the Qt build on Mac (got broken with battery changes)
* Attempt at buildfixing ios
* UWP buildfix
2023-02-25 13:09:44 +01:00
Henrik Rydgård
ece6edfe83
SDL audio: Let's try 256 for fmt.samples. See issue #12705
2023-01-17 11:45:35 +01:00
Henrik Rydgård
d73196c7d6
Split up the GPU config change notifications
2022-11-21 15:14:20 +01:00
Henrik Rydgård
6f703128ec
Experimentally revert "Delete some misguided FPU control code, that we definitely don't want"
...
This reverts commit d52d383c22
.
2022-10-10 18:35:29 +02:00
Henrik Rydgård
d52d383c22
Delete some misguided FPU control code, that we definitely don't want
2022-10-10 10:46:51 +02:00
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
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
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
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
Henrik Rydgård
f4a6d291e1
Common: Capitalize setCurrentThreadName().
2021-04-30 23:02:36 -07: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
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
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
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
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
15382d5f94
Move threading utils from native to Common
2020-10-01 09:27:25 +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
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
Unknown W. Brackets
fd0bf21215
Windows: Prevent applying -1 as inset space.
2020-04-05 17:06:36 -07:00