Commit Graph
4365 Commits
Author SHA1 Message Date
Paul Gilbert e3151e69aa ANDROID: Compilation fix due to Point field changes 2021-07-04 20:45:15 -07:00
Michael Ball a8b7e1b2ee 3DS: Update README.md
- [`devkitpro-pkgbuild-helpers` is now deprecated in favor of `dkp-toolchain-vars`](https://github.com/devkitPro/pacman-packages/commit/f2fa9349470e7d42a4999bbea537ef9821782416#diff-1ad351cc587a0b9fc4008f8094e8935e2b4c2a3063b1e470c37c4fdeac92f105). The `devkitarm.sh` and `3dsvars.sh` files are still in `/opt/devkitpro/`.
 - Update Section 4.1.2 with values from [`devkitarm.sh`](https://github.com/devkitPro/pacman-packages/blob/master/dkp-toolchain-vars/devkitarm.sh) and [`3dsvars.sh`](https://github.com/devkitPro/pacman-packages/blob/master/dkp-toolchain-vars/3dsvars.sh)
2021-07-05 00:57:00 +02:00
Christian Krause b0832788ec SDL: build fix for various non-x86 architectures
- allow certain symbols from unistd.h within SDL backend
- e.g. on armv7, ppc64, aarch and s390, SDL.h would include indirectly
  unistd.h after common/forbidden.h and so the preprocessor would
  generate broken code even if the symbols are never called by
  scummvm
2021-07-04 22:13:09 +02:00
Filippos Karapetis 89ae8da5de Update backends/platform/symbian/symbian_builder/piper.py 2021-06-30 16:33:47 +02:00
Filippos Karapetis 54ca2dcd82 Update backends/platform/symbian/symbian_builder/piper.py 2021-06-30 16:33:47 +02:00
Filippos Karapetis 714120466a Update backends/platform/symbian/symbian_builder/piper.py 2021-06-30 16:33:47 +02:00
Filippos Karapetis e519b49a4a Update backends/platform/symbian/symbian_builder/common_names.py 2021-06-30 16:33:47 +02:00
Filippos Karapetis 3af8c7bc2e Update backends/platform/symbian/symbian_builder/common_names.py 2021-06-30 16:33:47 +02:00
FiodarandFilippos Karapetis 3cda4cd555 Update backends/platform/symbian/symbian_builder/piper.py
Co-authored-by: Filippos Karapetis <bluegr@gmail.com>
2021-06-30 16:33:47 +02:00
FiodarandFilippos Karapetis 8ed482b5fe Update backends/platform/symbian/symbian_builder/build_apps.py
Co-authored-by: Filippos Karapetis <bluegr@gmail.com>
2021-06-30 16:33:47 +02:00
Fiodar Stryzhniou af8b8a0f34 SYMBIAN: Add more generators for project files.
Add handler for command line options.
Fix for generators for project files.
Remove function duplicate: Common::KeymapperDefaultBindings *OSystem_SDL_Symbian::getKeymapperDefaultBindings().
2021-06-30 16:33:47 +02:00
sluicebox 1071f48be3 WIN32: Make main() arguments UNICODE compatible 2021-06-29 12:38:01 -05:00
sluicebox d9df1919d5 WIN32: Make Win32AudioCDManager UNICODE compatible 2021-06-29 12:38:01 -05:00
sluicebox eda2cc6b71 WIN32: Make Win32ResourceArchive UNICODE compatible 2021-06-29 12:38:01 -05:00
sluicebox ee5162078e WIN32: Make OSystem_Win32 UNICODE compatible 2021-06-29 12:38:01 -05:00
sluicebox 863747bc96 WIN32: Use MAX_PATH (260) instead of MAXPATHLEN (256) 2021-06-29 12:38:01 -05:00
Le Philousophe 851282af60 IPHONE/IOS7: Fix compilation 2021-06-25 09:20:27 +02:00
Cameron Cawley 64fc110586 IPHONE: Remove unneeded use of Graphics::ColorMasks 2021-06-24 11:55:54 +02:00
Cameron Cawley cdc00c41be IOS7: Remove unneeded use of Graphics::ColorMasks 2021-06-24 11:55:54 +02:00
Cameron Cawley c2ae54306f BASE: Update scaler settings from old config files 2021-06-23 21:29:53 +02:00
Lothar Serra Mari af7e042ac4 BACKENDS: SDL: Allow setting OpenGL mode via registerDefault 2021-06-21 21:23:34 +02:00
Lothar Serra Mari e555923e0e DISTS: WIN32: Use OpenGL as default renderer 2021-06-21 17:53:30 +02:00
Orgad Shaneh d31b843f9f MAKEFILE: Add win32dist-mingw target (#2999)
Installs, and bundles all required dlls in WIN32PATH or DESTDIR.
2021-06-20 12:01:09 +03:00
Cameron Cawley c1702a0953 ANDROID: Add an on-screen menu button 2021-06-19 14:37:35 +02:00
Martin Gerhardy 5af1192580 BACKENDS: fixed segfault in EventRecorder with buffer out of bounds writes
==3124361== Invalid write of size 8
==3124361==    at 0x483F803: memmove (vg_replace_strmem.c:1270)
==3124361==    by 0x4DBF61: SurfaceSdlGraphicsManager::grabOverlay(void*, int) const (surfacesdl-graphics.cpp:1753)
==3124361==    by 0x482051: ModularGraphicsBackend::grabOverlay(void*, int) (modular-backend.cpp:215)
==3124361==    by 0x434EE1: GUI::ThemeEngine::clearAll() (ThemeEngine.cpp:376)
==3124361==    by 0x40128E: GUI::EventRecorder::preDrawOverlayGui() (EventRecorder.cpp:558)
==3124361==    by 0x481DB2: ModularGraphicsBackend::updateScreen() (modular-backend.cpp:173)
==3124361==    by 0x559967: Graphics::Screen::updateScreen() (screen.cpp:62)
==3124361==    by 0x55991C: Graphics::Screen::update() (screen.cpp:56)
==3124361==    by 0x38AFC7: TwinE::TwineScreen::update() (twine.cpp:126)
==3124361==    by 0x3B8759: TwinE::Screens::adjustPalette(unsigned char, unsigned char, unsigned char, unsigned int const*, int) (screens.cpp:150)
==3124361==    by 0x3B8A89: TwinE::Screens::fadeToPal(unsigned int const*) (screens.cpp:207)
==3124361==    by 0x3B8403: TwinE::Screens::loadImage(int, int, bool) (screens.cpp:80)
==3124361==  Address 0x31453050 is 16 bytes after a block of size 512,000 alloc'd
==3124361==    at 0x483AB65: calloc (vg_replace_malloc.c:760)
==3124361==    by 0x55B38C: Graphics::Surface::create(unsigned short, unsigned short, Graphics::PixelFormat const&) (surface.cpp:75)
==3124361==    by 0x551111: Graphics::ManagedSurface::create(unsigned short, unsigned short, Graphics::PixelFormat const&) (managed_surface.cpp:153)
==3124361==    by 0x4352D5: GUI::ThemeEngine::setGraphicsMode(GUI::ThemeEngine::GraphicsMode) (ThemeEngine.cpp:453)
==3124361==    by 0x434A52: GUI::ThemeEngine::init() (ThemeEngine.cpp:324)
==3124361==    by 0x43501B: GUI::ThemeEngine::refresh() (ThemeEngine.cpp:394)
==3124361==    by 0x405780: GUI::GuiManager::screenChange() (gui-manager.cpp:603)
==3124361==    by 0x405C6B: GUI::GuiManager::processEvent(Common::Event const&, GUI::Dialog*) (gui-manager.cpp:677)
==3124361==    by 0x404EBA: GUI::GuiManager::runLoop() (gui-manager.cpp:429)
==3124361==    by 0x3FD847: GUI::Dialog::runModal() (dialog.cpp:77)
==3124361==    by 0x36D747: launcherDialog() (main.cpp:106)
==3124361==    by 0x36FF92: scummvm_main (main.cpp:552)

It looks like the _videoMode.overlayHeight in SurfaceSdlGraphicsManager::grabOverlay and ThemeEngine::_backBuffer::h are somehow out of sync after
starting the game in a different resolution as the gui was started with. So the overlayHeight is updated - but the backbuffer (Surface) is not resized.

This is with event recorder being active - right after starting the game and switching the resolution.
2021-06-19 14:34:52 +02:00
Cameron Cawley 0a9bf3708f DS: Update the MaxMod callback manually 2021-06-19 14:32:10 +02:00
Ori Avtalion 50e8dc815a DOCS,TRAVIS: Change IRC links to libera.chat 2021-05-27 22:47:32 +03:00
Hubert MaierandLe Philousophe 21e709af1d AMIGAOS: Support the new reduced README.md for AmigaGuide conversion (#3025)
AMIGAOS: Support the new reduced README.md for AmigaGuide conversion

Co-authored-by: Le Philousophe <lephilousophe@users.noreply.github.com>
2021-05-25 23:10:21 +02:00
Thierry Crozat dce06f179c IOS7: Render the GUI in HiDPI 2021-05-24 23:46:51 +01:00
Thierry Crozat 37aa9f9081 IOS7: Support using 4bpp cursors
This fixes an assert with the new GUI (bug #12578).

This also required changing the logic to handle the cursor key color
as the new GUI does not use that key color but use the alpha channel.
The logic in the iOS backend was overwriting the alpha channel
by checking the key color, removing all the transparency. Now the
two are combined (hopefully there is no case were it uses the key
color while also using a pixel format with alpha, but not setting
this alpha, because if there is, this will now result in a fully
transparent cursor).
2021-05-24 23:46:51 +01:00
Thierry Crozat bf406f66c0 BACKENDS: SDL: Do not allocate memory in SurfaceSdlGraphicsManager::getSupportedGraphicsModes 2021-05-08 21:58:30 +01:00
Mathias Parnaudeau 800c673b62 BACKENDS: SDL: Fix memory leak in supported graphics modes
Supported graphics modes are grouped in an merged array in which
the first part contains modes from the non-OpenGL SDL manager,
obtained by a copy dynamically allocated.

When the array was rebuilt or aimed to be destroyed, it was only
cleared (removing elements) but not freeing duplicated fields
name and description.

An additional leak came from the temporary array (srcModes)
not freed.
2021-05-08 21:58:30 +01:00
Orgad Shaneh a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
Filippos Karapetis 99e5de932e AUDIO: Remove the broken ARM audio rate converter
This code has been broken and unmaintained for at least 7 years now,
and had been disabled. This also removes the associated define
USE_ARM_SOUND_ASM
2021-05-04 01:16:14 +03:00
Le Philousophe 993779259f AMIGAOS: Strip trailing / to ensure .info file is placed beside folder 2021-05-01 18:03:13 +02:00
Hubert Maier 37ef6b4204 AMIGAOS: Typo in comment 2021-05-01 18:03:13 +02:00
Hubert Maier e776921a7e AMIGAOS: Revert some chnages to use new install path 2021-05-01 18:03:13 +02:00
SupSuper 60f1fd98aa SDL: Use the window display index when querying display modes 2021-05-01 11:22:22 +03:00
rsn8887 8ab7d43079 BACKENDS: PSP: Fix pixelformat, fixes crash on startup 2021-04-30 22:29:24 -05:00
SupSuper 5219b1ea57 SDL: Get the window decoration size from the backend
It's been 5 years since SDL 2.0.5, I think it's safe to use
2021-04-29 04:44:55 +01:00
Cameron Cawley d67b16a55d COMMON: Improve debugging of forbidden symbol issues 2021-04-27 04:05:11 +01:00
Orgad Shaneh 59752c2835 MAKEFILE: Auto-generate dependencies for scummvm.rc 2021-04-23 02:01:09 +02:00
Cameron Cawley d33487f641 SDL: Refactor OpenGLSdlGraphics3dManager to inherit from SdlGraphicsManager 2021-04-17 20:32:27 +02:00
Eugene Sandulenko 91832bf9d8 SYMBIAN: Remove old Keys Dialog, now the global KeyMapper is used. PR#2712 2021-04-17 19:41:09 +02:00
Eugene Sandulenko 6778a80816 SYMBIAN: Do not compile unneeded stubs. Part of PR#2712 2021-04-17 19:41:09 +02:00
Orgad Shaneh b49e6eb96f JANITORIAL: Fix some excess tabs 2021-04-15 23:18:08 +03:00
Eugene Sandulenko 5e7fe2dc57 JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
rsn8887 d3423ae991 VITA: Remove shaders, not supported with latest SDL2 2021-04-13 20:57:28 -05:00
Cameron Cawley 56e2107dc3 RASPBERRYPI: Remove outdated packaging rules 2021-04-13 19:56:55 +01:00
antoniou79 6afae47470 ANDROID: Add support for feature OSystem::kFeatureHiDPI
For testing purposes and feedback mostly

Also set the level for debug to 3, to get messages related to native resolution and scaling from the new hidpi gui scale code
2021-04-12 15:05:34 +03:00