9855 Commits

Author SHA1 Message Date
Giovanni Cascione
6fa7403b8b LIBRETRO: BUILD: add -rdynamic for debug builds 2024-02-12 23:13:53 +01:00
Giovanni Cascione
3904a7dd15 LIBRETRO: add process_key_event_wrapper 2024-02-12 23:13:23 +01:00
Giovanni Cascione
d3ecd6c184 LIBRETRO: fix condition for playlist separator 2024-02-12 23:12:56 +01:00
Giovanni Cascione
1acd07483a LIBRETRO: remove unused vars 2024-02-12 23:12:22 +01:00
Torbjörn Andersson
57893f8d3a SURFACESDL: Refresh cursor scaler along whith standard scaler (bug #14872)
Otherwise, the cursor scaler and standard scaler may be different types,
which can lead to scaling the cursor with a scaler that normally doesn't
allow it. In this particular bug report, it caused ScummVM to crash.
2024-02-11 16:34:39 +01:00
Giovanni Cascione
2927be0280 LIBRETRO: add retroarch playlist path retrieving 2024-02-05 23:21:23 +01:00
Giovanni Cascione
fc097c3dbf LIBRETRO: add setLibretroDir 2024-02-05 23:21:01 +01:00
Giovanni Cascione
3d5c3d7afa LIBRETRO: remove THREAD_SWITCH_UPDATE short loop 2024-02-05 23:20:46 +01:00
Giovanni Cascione
cf30fe324f LIBRETRO: refactor and improve audio run loop 2024-02-05 23:20:30 +01:00
Giovanni Cascione
f30910e636 LIBRETRO: fix free audio buffers 2024-02-05 23:20:13 +01:00
Vladimir Serbinenko
0d2f87768e MIYOOMINI: Enable neon and freetype2 in documented compilation script 2024-01-30 05:01:36 +02:00
Miro Kropacek
276103b0aa BACKENDS: ATARI: Fix a crash
_offsettedSurf must have the original screen dimensions, similar as done in
AtariGraphicsManager::Screen::reset().

Strangely, this bug was reproducible only in MagiC and not in FreeMiNT+MP.
2024-01-28 21:59:13 +01:00
Miro Kropacek
e1bda48e05 BACKENDS: ATARI: Change version to 2.9.0 2024-01-28 21:59:13 +01:00
Miro Kropacek
3e85aa3f4b BACKENDS: ATARI: Provide dlmalloc locally
It's much cleaner and easier to use than to depend on an unofficial mintlib fork...

Plus we are going to use its MSPACES feature anyway.
2024-01-28 21:59:13 +01:00
Torbjörn Andersson
13996ea3d1 SURFACESDL: Remove redundant _mouseOrigSurface check
It's already checked a few lines above.
2024-01-28 14:07:33 +01:00
Le Philousophe
27c7572bd7 ANDROID: Get HiDPI density from Android metrics 2024-01-24 21:53:07 +01:00
Иван Марчуков
073469293f SCI: Add cyrillic input support for text-based games 2024-01-22 08:50:52 +02:00
Lars Sundström
ceb54851c5 IOS7: Make specific options if running in macOS
Add a convenience function to check if the application is running
in macOS. Use this method to change the default visibility of on-
screen control buttons and function bar.
Neither of these are needed when running on macOS since both mouse
and keyboard are available. Also the mouse pointer in ScummVM does
not access the on-screen control buttons.

However this requires function keys and key combinations like e.g.
Alt+X to work to be able to save and quit games.
These will be added in future commits.
2024-01-21 10:57:27 +01:00
Lars Sundström
da19f39164 IOS7: Update the window size correctly
Applications running on iOS are usually full screen. On newer iPads
and when running iOS applications on macOS the application window
size can be changed.

When running the iOS application on macOS using "Designed for iPad"
option, the window can be changed, also to full screen. The function
"safeAreaInsetsDidChange" is then called. Update the screen size
using the view window property instead of checking the UIScreen
window bounds since these never changes.

If forcing the application to run in full screen setting the option
UIRequiresFullScreen to TRUE, it seems to trigger ScummVM to run
in portrait mode instead of landscape mode when running the app in
macOS using "Designed for iPad" on Apple silicon macs.

The UI doesn't require full screen since the application handles
resolution changes nice.
2024-01-21 10:57:27 +01:00
Lars Sundström
20d14337c9 IOS7: Make "Designed for iPad" on Mac silicon great again
It is possible to run iOS applications on macOS on Mac computers
running on Apple Silicon. This was possible before moving to the
ModularGraphicsBackend implementation in the iOS7 port with just
a little tweaking.

After the move to ModularGraphicsBackend, the ScummVM application
crashed on launch. There were two reasons for crashing;

1. dlsym() was called with the special handle RTLD_SELF to search
for the address binding of the GLES2 load symbol. Using RTLD_SELF
the search for the symbol is limited to the shared object issuing
the call to dlsym() and those shared objjects which were loaded
after it. When running an iOS app in macOS it seems that the app
is running inside a wrapper, which means that the objects resides
in a different level. Changing the search level to RTLD_DEFAULT
changes the search to also include all objects loaded at program
start-up.

2. As for the native macOS application, XCode also adds the
argument -NSDocumentRevisionsDebugMode YES if XCode option
"Allow debugging when using document Versions Browser" is on.
Make sure not to parse that argument also when building the
IPHONE target.
2024-01-21 10:57:27 +01:00
Lars Sundström
4db72b15d2 IOS7: Fix toggling of mouse mode when HW keyboard connected
It was not possible to change the mouse mode between "Direct mouse"
and "Touchpad emulation" if a hardware keyboard was connected when
using the on-screen control button.

Fix this by checking if a hardware keyboard is connected.
2024-01-21 10:57:27 +01:00
Eugene Sandulenko
1d6f7b05ea
JANITORIAL: Clean up some English language 2024-01-21 00:28:44 +01:00
Vladimir Serbinenko
c09feede0d MIYOO: Add a build script for musl variant of miyoo CFW 2024-01-20 23:55:32 +01:00
Vladimir Serbinenko
0e23319c6c
KOLIBRI: Add explicit paths for ogg and vorbis
Auto-detect fails which is kinda expected with such weird paths
2024-01-20 23:52:50 +01:00
Vladimir Serbinenko
bb530c76ee
KOLIBRI: build-kolibri: Temporarily disable ags engine as it fails to compile 2024-01-20 23:52:50 +01:00
Vladimir Serbinenko
595f0421f6
KOLIBRI: build-kolibri: Use a more common path to SDK
~/sdk is a pretty unusual path for kolibri SDK. Use a bit more natural
paths resulting from manual checkout.
2024-01-20 23:52:50 +01:00
Vladimir Serbinenko
0b10743566
KOLIBRI: Replace kos32sys.h
kos32sys.h is no longer available. Just declare DLL-related functions ourselves
like other programs do.
2024-01-20 23:52:50 +01:00
Vladimir Serbinenko
1a7c690a51
KOLIBRI: Remove sdl-stubs
Now similar SDL stubs are in the SDL library. We now have a conflict due
to slightly different prototypes. Just remove the stubs
2024-01-20 23:52:49 +01:00
Vladimir Serbinenko
3bc7902b6a
KOLIBRI: Update for new ksys.h
New ksys has renamed few structs and function. Propagate rename and
use _ksys_file_read_dir function instead of manual filling
2024-01-20 23:52:46 +01:00
Eugene Sandulenko
dd6c7be8fa
SDL: Print reported DPI info for Mac and SDL in the same format 2024-01-20 20:07:57 +01:00
Cameron Cawley
4fdd1f7cc0 CONFIGURE: Check if fopen64 is available before using it 2024-01-08 16:23:00 +02:00
Cameron Cawley
288e1aaa3f COMMON: Remove use of fmin/fmax/fminf/fmaxf 2024-01-08 13:07:05 +01:00
Giovanni Cascione
6118a0d929 LIBRETRO: fix paths retrieving in checkPathSetting 2024-01-02 01:13:09 +01:00
Giovanni Cascione
fd6835eaf1 LIBRETRO: add ra system dir to SearchSet 2024-01-02 00:17:26 +01:00
Miro Kropacek
4e285bdd0b BACKENDS: ATARI: Fix build 2024-01-01 17:26:22 +01:00
Miro Kropacek
7fed4fd9ba BACKENDS: ATARI: Disable ultima & hugo engines
- The only non-hires ultima engine is ultima1, not worth it. See
  also https://bugs.scummvm.org/ticket/14790. This prevents adding
  the 15 MB ultima.dat to the release archive.

- Disable hugo also in full version (oversight).

- Mention freemint version in readme.txt.
2024-01-01 16:27:01 +01:00
Le Philousophe
e513a5f5d2 SDL: Fix comment
This is now a Path and not a String anymore
2023-12-31 18:08:53 +01:00
Giovanni Cascione
18c3591548 LIBRETRO: add Libretro Playlist Generator to ScummVM GUI 2023-12-31 16:59:38 +01:00
Giovanni Cascione
7a9fbf5f48 LIBRETRO: align with FSNode class changes 2023-12-31 16:56:51 +01:00
Giovanni Cascione
66d690e50d LIBRETRO: add retro_get_core_dir 2023-12-31 16:56:37 +01:00
Le Philousophe
f156e3a0c2 VITA: Hopefully really fix the build 2023-12-29 08:35:08 +01:00
Le Philousophe
2fdd7ce9d0 VITA: Add missing function for plugins 2023-12-28 18:18:31 +01:00
Cameron Cawley
5b1b14ad80 COMMON: Mark more symbols as const 2023-12-26 20:23:59 +01:00
Eugene Sandulenko
00440cfe86 HELP: Added explanation what ScummVM is and where to get help for Android and iOS 2023-12-26 15:21:23 +01:00
Le Philousophe
a38a3eea01 ANDROID: Add bundle build method 2023-12-24 16:18:31 +01:00
Le Philousophe
431af3e37d COMMON: Delete getPath compatibility shim
It's not needed anymore
2023-12-24 13:19:25 +01:00
Le Philousophe
9bdf1233b1 BACKENDS: Migrate to Path API 2023-12-24 13:19:25 +01:00
Le Philousophe
ed9ded9e83 GUI: Migrate GUI to Path class 2023-12-24 13:19:25 +01:00
Le Philousophe
7853b05482 BACKENDS: WII: Start considering game paths as Path class 2023-12-24 13:19:25 +01:00
Le Philousophe
40dcce567b BACKENDS: DC: Start considering game paths as Path class 2023-12-24 13:19:25 +01:00