10595 Commits

Author SHA1 Message Date
Paweł Kołodziejski d84ee6589e PS3: Split build targets to smaller steps 2026-05-19 23:26:30 +02:00
Paweł Kołodziejski b39bd78123 PS3: Use SDK macro for stack size
This reverts commit 692565fc06.

Macro does not represent as amount but as bitfield.
2026-05-18 19:57:53 +02:00
Paweł Kołodziejski 692565fc06 PS3: Use SDK macro for stack size 2026-05-18 11:23:35 +02:00
Miro Kropacek b5434d3922 BACKENDS: ATARI: Add MetaDOS audiocd support 2026-05-17 18:42:04 +10:00
Miro Kropacek 4f711e456b BACKENDS: SDL: Explain mysterious duration += 5
Commit 32d69e8c introduced the initial padding which has over the years
iterated to its present form.
2026-05-17 18:42:04 +10:00
Le Philousophe f26fd6ca31 ANDROID: Fix HTTP client not returning content on error
This makes OneDrive work for real.
2026-05-14 16:54:48 +02:00
Le Philousophe fa285e48b7 ANDROID: Don't abort when HTTP headers array is null
And don't send an empty array of headers.

Fix #16678.
2026-05-14 16:54:48 +02:00
Thierry Crozat 172021cccf BACKENDS: SDL: Do not ignore wheel scroll amount
This provides a better scroll behaviour when scrolling fast. Before
this change fast scrolling was not faster and ended up scalling less
than if we scrolled more slowly.
2026-05-13 19:21:29 +01:00
Thierry Crozat d703f6fc5c BACKENDS: SDL: Use accumulated wheel scroll amount in SDL3 is available
This is what we used with SDL2. In SDL3 it was initially removed,
with the y being now the precise amount instead of the accumulated
amount to whole scroll ticks. It was added back in SDL 3.2.12 as
integer_y.
2026-05-13 19:21:29 +01:00
Thierry Crozat c0f0fd5198 BACKENDS: SDL: Use wheel event mouse location if available 2026-05-13 19:21:29 +01:00
Cameron Cawley fe1bc90297 PSP: List more formats in DisplayManager::getSupportedPixelFormats() 2026-05-09 23:55:23 +02:00
Cameron Cawley 90a0bdefd0 PSP: Use Graphics::crossBlit for converting the game screen 2026-05-09 23:55:23 +02:00
Cameron Cawley 4549a485b1 PSP: Use Graphics::crossBlit for converting the cursor 2026-05-09 23:55:23 +02:00
Cameron Cawley adc8f111af PSP: Remove old pixel format conversion code for now 2026-05-09 23:55:23 +02:00
Le Philousophe 56238d417f JANITORIAL: ANDROID: Add copyright headers to Java source files
Files already having a foreign copyright header are not modified.
2026-05-09 11:51:11 +02:00
Le Philousophe c8111d2097 ANDROID: Remove OnKeyboardVisibilityListener
This is only used inside ScummVMActivity so this has no real use.
2026-05-09 11:51:11 +02:00
Paweł Kołodziejski 91d79f4e94 PS3: Tune a bit debug build target 2026-05-08 09:01:08 +02:00
Miro Kropacek 7d5c708f54 JANITORIAL: Move basepage.h include to the right place
This should make m68k-loader.cpp truly platform-agnostic.
2026-05-06 08:45:37 +10:00
Giovanni Cascione 180353ed6a LIBRETRO: add _domain to confman.get 2026-05-05 01:28:37 +02:00
Giovanni Cascione b5f964bb28 LIBRETRO: add missing retro_log_cb guards 2026-05-05 01:28:19 +02:00
Paweł Kołodziejski 3486179af2 PS3: Added debug target into makefile 2026-05-04 10:32:23 +02:00
Miro Kropacek 0d01736e29 BACKENDS: ATARI: Disable autosave by default 2026-05-01 22:02:29 +10:00
Miro Kropacek 3a6a355c20 BACKENDS: SDL: Add plugins support for Atari/FireBee 2026-04-27 02:05:36 +10:00
Miro Kropacek b02c2de70f BACKENDS: ATARI: Match other platforms' plugin.ld ctors/dtors layout
Revert the folding of .init_array / .fini_array into ___plugin_ctors /
___plugin_dtors. Other ELF-loader backends (3ds, riscos, wii, ds, psp)
keep these as separate sections, and the cross-platform migration to
walk .init_array / .fini_array directly from the loader will be done in
the future (see https://github.com/scummvm/scummvm/pull/7446).

m68k-atari-mintelf-gcc emits .init_array / .fini_array rather than
.ctors / .dtors. I have verified it two ways: scummvm.prg has populated
.init_array (6 entries) and .fini_array (1 entry); and adding a single
namespace-scope `static Foo g;` to an engine TU produces an .init_array
entry in the resulting .plg that lives outside ___plugin_ctors ..
___plugin_ctors_end. So with this layout, such an entry is silently
never run (same of every other ELF backend?). Fortunately, no engine has
such a static today (every built plugin has empty ctor/dtor ranges), so
nothing currently breaks.
2026-04-27 02:05:36 +10:00
Miro Kropacek 83ebddc748 BACKENDS: ATARI: Implement plugins 2026-04-27 02:05:36 +10:00
Miro Kropacek e09b9dfad6 PLUGINS: Provide __cxa_atexit & __cxa_finalize
Atari's mintelf platform has ELF support but its libc does not provide
__cxa_atexit / __cxa_finalize, so -fuse-cxa-atexit cannot be used out of
the box. Add a minimal shim (plus a __dso_handle definition for the main
executable) so plugins can register and finalize their function-local
static destructors per DSO on unload.

Note: earlier version ran __cxa_finalize from the host via
findSymbol("__dso_handle"). That works as long as exactly one
__dso_handle ends up in the plugin's symtab (the plugin's own).

When the main binary also defines __dso_handle (so the host's
function-local statics can link with -fuse-cxa-atexit), it breaks: the
plugin link uses --just-symbols=<main binary> and imports that as a
second __dso_handle, and findSymbol can then return the host-imported
one instead of the plugin's own. The two addresses differ, so
__cxa_finalize matches nothing.

The plugin-side helper avoids the ambiguity on every target by using
whichever __dso_handle the plugin's own code already resolved against --
the same one embedded in its __cxa_atexit calls. (PSP2's plugin runtime
has always called __cxa_finalize from inside the plugin for the same
reason; see backends/plugins/psp2/plugin.cpp.)
2026-04-27 02:05:36 +10:00
Le Philousophe 8c443f5fc9 SDL: Make sure window flags are consistent between backends 2026-04-26 17:41:23 +02:00
Le Philousophe 994dc04a85 BACKENDS: OPENGLSDL: Don't store a size for the maximized state
Fix #16666

When restoring from the maximized state while the maximized size was
used when creating the window, the window manager restores to something
sensible instead of using the last restored size we used.
As the maximized size has no real use, don't store and use it.
2026-04-26 17:41:23 +02:00
Miro Kropacek fec10669b5 BACKENDS: ATARI: Tooltip patch is no longer needed 2026-04-26 21:06:07 +10:00
Thierry Crozat 5021e47aac TTS: MACOSX: Fix issue speaking text that ends with a space
The macOS speech synthesizer does not like sentences that end with
a space and hangs (possibly waiting for more text?). This happens
for example in the first scene in from of the Theatre in Indy 4.
The text is now trimmed before being passed to the synthesizer
to avoid this issue.
2026-04-24 00:23:16 +01:00
Miro Kropacek 8d48420dde BACKENDS: ATARI: Lite build doesn't need MAME OPL
The OPL driver is set to null by default and there is no point in
offering it on a <50 MHz CPU.
2026-04-21 22:16:19 +03:00
Miro Kropacek 8fa2f590bd BACKENDS: ATARI: Clarify "gaudio" debugflags 2026-04-20 21:27:40 +10:00
Miro Kropacek 9bd91b4131 BACKENDS: ATARI: Remove atari_debug 2026-04-20 01:47:37 +02:00
Miro Kropacek 20da9f4388 AUDIO: Introduce print_rate
This is useful on weaker platforms to fine-tune the mixer's frequency to
given game.
2026-04-20 01:47:37 +02:00
Le Philousophe ead06bd508 IOS7: Fix build
Platform was forgotten in fb175a893e.
2026-04-16 07:33:03 +02:00
Miro Kropacek 5face6564d BACKENDS: FS: Don't assume long names on FireBee backend 2026-04-16 11:28:10 +10:00
Miro Kropacek 1ea6dd3399 JANITORIAL: Align to 80 columns 2026-04-15 20:53:12 +10:00
Le Philousophe ee63781049 3DS: Fix build 2026-04-14 09:05:43 +02:00
Le Philousophe 59a157e97e DC: Fix build 2026-04-14 09:03:51 +02:00
Le Philousophe a434b535dd BACKENDS: Fix build 2026-04-14 08:41:06 +02:00
Cameron Cawley fb175a893e BACKENDS: Remove EventsBaseBackend 2026-04-13 20:11:43 +03:00
Miro Kropacek 4b48865d5f BACKENDS: ATARI: Do not support macgui 2026-04-13 15:01:03 +10:00
Le Philousophe 98d662d337 IOS7: Fix build 2026-04-12 18:25:40 +02:00
Le Philousophe 1fd96b5085 ANDROID: Rework the audio subsystem and use Oboe
It would appear that Oboe is the new audio library.
It's way more complex to handle (especially on really old devices), but
it brings low latency.
Oboe also comes with its share of warkaround to apply that have no
real doc... A fine piece of software...
2026-04-12 17:28:26 +02:00
Le Philousophe 066bc346ef ANDROID: Fix sign compare warnings 2026-04-12 17:26:59 +02:00
Eugene Sandulenko e3bf752288 BACKENDS: PSP2: Properly designate system-wide include 2026-04-10 12:05:48 +02:00
Miro Kropacek ff0a7629c2 BACKENDS: ATARI: Use null OPL driver on lite builds
This reverts / extends commit 24a8a820.
2026-04-10 13:53:46 +10:00
Miro Kropacek 1d30304f78 BACKENDS: ATARI: Update tooltips patch 2026-04-10 13:43:05 +10:00
Giovanni Cascione b6a2bc0977 LIBRETRO: change pointer to support right/left mouse hold down 2026-04-09 01:57:44 +02:00
Giovanni Cascione cf819198f6 LIBRETRO: BUILD: enable missing components 2026-04-09 01:57:02 +02:00