9855 Commits

Author SHA1 Message Date
scemino
8e07681356 BACKENDS: Update setImGuiRenderCallback in OSystem 2024-05-03 20:04:30 +02:00
Le Philousophe
9c681ddd77 ANDROID: Fix segmentation fault
We expect the array to be of even size so don't add the external data
title if there is no external data mount point
2024-05-01 11:44:10 +02:00
Le Philousophe
8475ef50da ANDROID: Add shim for AccessibilityEvent 2024-05-01 11:44:10 +02:00
Le Philousophe
bb2ebef540 ANDROID: Make a compatibility shim for AudioTrack construction 2024-05-01 11:44:10 +02:00
Le Philousophe
abca8ce013 ANDROID: Split deprecated code in its own function
This allows to remove deprecation warning on a limited part of code
2024-05-01 11:44:10 +02:00
Le Philousophe
bed4b2ee0d ANDROID: Remove deprecated use of toggleSoftInputFromWindow 2024-05-01 11:44:10 +02:00
Le Philousophe
5146495601 ANDROID: Don't use deprecated getDefaultDisplay and getMetrics 2024-05-01 11:44:10 +02:00
Le Philousophe
c155e3dc3b ANDROID: Remove old compatibility code
We don't support something like Honeycomb anymore
2024-05-01 11:44:10 +02:00
Le Philousophe
35e6c7a094 ANDROID: Introduce Compatibility helper class
It's kind of based on Androidx but is simpler and goes up to Jelly Bean.
This removes a bunch of warnings.
2024-05-01 11:44:10 +02:00
Le Philousophe
2522cba583 ANDROID: Don't use deprecated WiFi API
Use ConnectivityManager instead:
- it's more accurate
- it has been available since API level 16 which is the minimum we
  require
- it removes a deprecation warning
2024-05-01 11:44:10 +02:00
Eugene Sandulenko
9bfba6bacc
JANITORIAL: Fix code formatting 2024-04-28 22:04:23 +02:00
Le Philousophe
a04fe8ef2f OPENGL: Don't always force redraw when ImGui is enabled
Only do it when ImGui is enabled by the engine and move the check in SDL
backend where ImGui is supported.
This makes the OpenGL backend independent of ImGui.
2024-04-28 21:48:10 +02:00
Le Philousophe
7a4f6aa2af OPENGLSDL3D: Make ImGui init and deinit variableless
It is inited only when context is created and deinited when it is
destroyed
2024-04-28 21:48:10 +02:00
Le Philousophe
e6a7d6bc9b OPENGLSDL: Don't compile code when not on SDL 2.0 2024-04-28 21:48:10 +02:00
Le Philousophe
3822d9d644 BACKENDS: Move setImGuiRenderCallback in OSystem and hide implementation
This avoids dynamic casts and having a variable defined in
backends not supporting ImGui
2024-04-28 21:48:10 +02:00
Cameron Cawley
378531d779 WIN32: Ensure that _WIN32_WINNT is set high enough for required defines 2024-04-28 20:11:47 +02:00
scemino
b721f95ffe BACKENDS: Add imgui in OpenGL backend 2024-04-28 13:59:31 +02:00
Cameron Cawley
7e0309b175 3DS: Update the documentation to reflect the options changes 2024-04-23 21:09:17 +02:00
Cameron Cawley
a1cb48c888 3DS: Rewrite the options dialog to use OptionsContainerWidget 2024-04-23 21:09:17 +02:00
Cameron Cawley
dca3c4179b 3DS: Improve performance when converting the screen in software 2024-04-23 11:57:02 +01:00
Giovanni Cascione
786aedf330 LIBRETRO: pass virtual mouse coordinates to mouse events 2024-04-20 21:50:21 +02:00
Giovanni Cascione
42dc7b31f4 LIBRETRO: add OpenGL support 2024-04-17 15:24:30 +02:00
Le Philousophe
298c970fca ANDROID: Hide on-screen buttons while native code is not started 2024-04-13 19:16:55 +02:00
Le Philousophe
aa406ba5f3 ANDROID: Don't display burger menu when in launcher 2024-04-13 19:16:55 +02:00
Le Philousophe
311f5ce493 ANDROID: Make on screen icons depend on screen orientation 2024-04-13 19:16:55 +02:00
Le Philousophe
92204097d6 ANDROID: Rename showKeyboardControl to showOnScreenControls
This matches what the function really do: hide input method and main
menu icons
2024-04-13 19:16:55 +02:00
Eugene Sandulenko
9965ee0c3e
SURFACESDL: Fix crash on specifying gfx mode via command line
`./scummvm -g surfacesdl` was crashing since there is no previous
scaler
2024-04-10 00:14:11 +02:00
Orgad Shaneh
6bba7a1ed3 LIBRETRO: Fix typo in comment 2024-04-08 22:42:38 +03:00
Giovanni Cascione
ce9974133e LIBRETRO: BUILD: align datafiles bundle script to source 2024-04-08 18:17:32 +02:00
Miro Kropacek
e6c06c6aaf BACKENDS: ATARI: Fix numpad mappings 2024-04-07 03:15:11 +02:00
Miro Kropacek
17cf6c95c5 BACKENDS: ATARI: Clarify EmuTOS compatibility 2024-04-07 03:15:11 +02:00
Giovanni Cascione
3774c29699 LIBRETRO: add FriBidi support 2024-04-06 00:19:35 +02:00
Giovanni Cascione
03e17cb8d7 LIBRETRO: BUILD: get first line only in sharedlibs_get_include_path 2024-04-06 00:19:17 +02:00
Giovanni Cascione
776f8bfa77 LIBRETRO: refresh screen on thread switch only 2024-04-06 00:18:53 +02:00
Giovanni Cascione
a5392653d5 LIBRETRO: switch to ModularGraphicsBackend 2024-04-06 00:18:16 +02:00
Giovanni Cascione
8ed85326fa LIBRETRO: drop performance auto tuner 2024-03-30 14:40:05 +01:00
Giovanni Cascione
f5a45d36e3 LIBRETRO: switch retropad A and Y default mapping 2024-03-30 14:39:36 +01:00
Giovanni Cascione
735cbbb34f LIBRETRO: add treshold to remove AUDIO_STATUS_BUFFER_UNDERRUN bit 2024-03-30 14:39:14 +01:00
Giovanni Cascione
e1abf6d691 LIBRETRO: check also AUDIO_STATUS_BUFFER_ACTIVE for auto frameskip 2024-03-30 14:38:41 +01:00
Giovanni Cascione
4ad8d47aac LIBRETRO: switch to emu thread even while frame skipping 2024-03-30 14:38:09 +01:00
Giovanni Cascione
cd3cc986ed LIBRETRO: set closest power of 2 for scummvm audio buffer size 2024-03-30 14:37:38 +01:00
Giovanni Cascione
d861059036 LIBRETRO: disable engines requiring opengl_game_shaders 2024-03-25 22:17:08 +01:00
Giovanni Cascione
0554419be2 LIBRETRO: use same libretro buffer size for mixer 2024-03-21 23:35:55 +01:00
Giovanni Cascione
2b1ad93f0e LIBRETRO: add silence-only buffers detection 2024-03-21 23:35:55 +01:00
Giovanni Cascione
a38cc2b6d9 LIBRETRO: BUILD: remove -rdynamic for debug builds 2024-03-21 23:35:55 +01:00
Le Philousophe
1ddc4cb955
BACKENDS: IMGUI: Use ScummVM facilities to get function pointers (#5715) 2024-03-17 22:32:28 +01:00
Le Philousophe
c952c63b69 AMIGAOS4: Don't use GLES2 system header
It is not freely available. Rely on loader instead.
2024-03-17 16:05:34 +01:00
Le Philousophe
2032dc2830 IOS7: Fix build 2024-03-17 16:03:02 +01:00
scemino
ab17f10a6f BACKENDS: Try to fix imgui compilation errors 2024-03-17 13:09:32 +01:00
PushmePullyu
926d5fd0b7 AMIGAOS: Cleanup and free signals via atexit(), 2nd attempt
Second attempt at fixing #6956
"ScummVM returned with unfreed signals (AmigaOS4)"

This only runs the cleanup code if the OSystem_AmigaOS
instance has not been destroyed already.
2024-03-17 13:58:10 +02:00