Commit Graph
3473 Commits
Author SHA1 Message Date
Cameron Cawley 00e3c03755 ALL: Remove unnecessary graphics/colormasks.h includes 2020-06-15 16:59:34 +01:00
Philippe Valembois a8f270eb25 DS: Fix build of C files when specifying -ansi in CXXFLAGS
Compiling externally provided C files using CXXFLAGS makes build fail
when specifying -ansi because files are not ANSI C compliant.
configure script don't provide a CFLAGS variable so we just override
using -std flag
2020-06-02 19:47:57 +02:00
Marcus Comstedt a37a33c008 DC: Fix a compilation warning 2020-06-01 19:47:31 +02:00
Philippe Valembois 3be555db01 3DS: Don't use auto as it's a C++11ism
That makes build fail when using -ansi
2020-05-30 19:43:13 +02:00
Cameron Cawley 6379adad21 WIN32: Fix missing include 2020-05-29 21:17:34 +01:00
Cameron Cawley 23e3a672b0 DS: Fix compilation with C++11 enabled 2020-05-29 20:05:02 +01:00
Cameron Cawley 30c00656e1 NULL: Ensure that the timer callback is called regularly 2020-05-27 12:41:51 +02:00
Cameron Cawley 068b3371bd NULL: Add implementation of getMillis, delayMillis and getTimeAndDate 2020-05-27 12:41:51 +02:00
Thanasis Antoniou a405524123 ANDROID: Use ApplicationContext for WIFI service look up
Android Studio warns for memory leaks otherwise on devices < Android N
2020-05-24 20:30:21 +03:00
Zvika Haramaty a611975561 WIN32: Fix convertEncoding problem due to String deallcation 2020-05-19 12:32:58 +02:00
Cameron Cawley fd0741bfb1 RISCOS: Fix missing include 2020-05-15 14:17:42 +01:00
mataniko 321a02aff2 JANITORIAL: Rename shouldRTL, resetRTL and FORCE_RTL 2020-05-12 10:36:38 +02:00
Bastien Bouclet dad5571592 3DS: Fix crash when closing the console while the 3DS options dialog is open 2020-05-11 18:29:08 +02:00
Eugene Sandulenko 2f9c28a699 ANDROID: Another blind attempt to fix compilation. Sigh 2020-05-11 10:11:08 +02:00
Eugene Sandulenko a211e9db2b ANDROID: Instantiate static class variable 2020-05-11 10:06:58 +02:00
Eugene Sandulenko ca25a95e2c 3DS: Remove extra dereferencing 2020-05-11 08:31:36 +02:00
Eugene Sandulenko b11a2aea65 ANDROID: Fix reference 2020-05-11 08:28:28 +02:00
Eugene Sandulenko 449f895680 3DS: Fix compilation 2020-05-11 07:45:46 +02:00
Eugene Sandulenko fc54286705 ANDROID: Fix compilation 2020-05-11 07:41:21 +02:00
Eugene Sandulenko bcc9c81174 PSP: Fix compilation 2020-05-11 07:39:26 +02:00
Eugene Sandulenko 1a64d19de7 ANDROID: Fix compilation 2020-05-11 01:51:42 +02:00
Eugene Sandulenko 4f30f26d80 3DS: Fix compilation 2020-05-11 01:51:15 +02:00
Henrik "Henke37" Andersson 8ff38d7409 PSP: Use PauseToken. 2020-05-11 01:35:03 +02:00
Henrik "Henke37" Andersson ecd23a7e20 Android: Use PauseToken 2020-05-11 01:35:03 +02:00
Henrik "Henke37" Andersson e73fd6b2cd 3DS: Use PauseToken 2020-05-11 01:35:03 +02:00
Eugene Sandulenko 7a152e9af4 JANITORIAL: #include "engine.h" -> "engines/engine.h" 2020-05-10 23:45:43 +02:00
Cameron Cawley 2f6d219dce SDL: Move detection of the desktop resolution into the SdlWindow class 2020-05-10 21:53:07 +02:00
mataniko b0895cf7c2 BACKENDS: Fix SDL version check for SDL_EnableScreenSaver 2020-05-10 00:50:54 -04:00
mataniko 38325bfb94 BACKENDS: Don't turn off screen when ScummVM is running a game 2020-05-10 00:35:29 -04:00
mataniko dbf404b786 BACKENDS: Allow the screensaver to turn on when ScummVM is running 2020-05-09 19:46:29 -04:00
D G Turner 8f6620b84f SDL2: Fix GCC Compiler Warning about Enum vs. Non-Enum Type in Conditional
The issue is that SDL_GetWindowWMInfo returns a SDL_bool enumeration type
rather than a standard bool. It should be noted that SDL_GetWMInfo used
later in this function returns a int type instead and thus will cast to
bool without warning.
2020-05-09 05:41:20 +01:00
Thierry Crozat e0441544d1 IPHONE: Add support for kFeatureNoQuit
This will ensure the Quit buttons in the GUI are hidden.
2020-04-26 16:26:03 +01:00
Thierry Crozat 298c61844a IOS7: Use abort() instead of exit() for the Fatal error message view 2020-04-26 16:19:37 +01:00
Thierry Crozat a5bad37f17 IOS: Use abort() instead of exit() 2020-04-26 16:19:37 +01:00
Thierry Crozat 4efcecb986 IOS7: Log error messages to the system error log facility 2020-04-26 16:19:37 +01:00
Thierry Crozat be6372df9c IOS7: Remove exit for normal application termination
With the kFeatureNoQuit being now used, it should not get
there anyway.
2020-04-26 16:19:37 +01:00
Thierry Crozat 8958fe0f7b IOS7: Add support for kFeatureNoQuit 2020-04-26 16:19:37 +01:00
Thierry Crozat 795111561c DC: Fix compilation 2020-04-26 03:18:46 +01:00
Cameron Cawley a404921a7e DC: Fix broken physical audio CD playback 2020-04-26 02:19:47 +01:00
Max Horn 08b4639cbb ALL: fix a bunch of const warnings
Also while add it, constify some code
2020-04-17 22:41:11 +01:00
Thierry Crozat b196d26b3e SDL: Add --logfile command line argument to specify logfile path 2020-04-17 22:39:50 +01:00
Thierry Crozat 5585d77e5e IOS7: Use screen scale to scale the overlay
This should result in a consistent overlay size whatever the pixel
density is for the device.
2020-04-16 22:05:35 +01:00
Bastien Bouclet 85e3fb38fb SDL: Change keyboard repeat to apply on unmapped events
The keyboard repeat event generator is used when building against SDL1.
Previously the repeat events would generate based on the event stream
produced by the keymapper which is not guaranteed to have matching up
and down events in the case the keymaps are changed while a key is
pressed.

Fixes #11417.
2020-04-12 11:11:00 +02:00
Cameron Cawley 27e8467b28 ANDROID: Add support for additional mouse buttons 2020-04-07 13:55:30 +03:00
Le Philousophe d3c72b4c97 ANDROID: Update files in build directory when source changed 2020-04-07 11:36:02 +03:00
Cameron Cawley b8e1aa66e5 ANDROID: Ignore input from the volume buttons 2020-04-01 21:10:00 +01:00
athrxx a3bc386335 SDL2: silence 'window magic' assert
Some builds of SDL2 (in my case the vcpkg debug Winx64 build) trigger an annoying and rather pointless assert when calling SDL_GetWindowWMInfo() with a _window parameter of 0 (window && window->magic == &this->window_magic). This commit silences that.
2020-03-29 13:40:40 +02:00
Cameron Cawley d6a02740a8 GPH/DINGUX: Unify the downscaling code 2020-03-27 22:50:41 +01:00
Cameron Cawley f2d323628d GCW0: Fully disable the downscaling code 2020-03-27 22:50:41 +01:00
Cameron Cawley 153576f0b5 BACKENDS: Move implementations of hasFeature into the relevant OSystem subclasses 2020-03-27 22:50:41 +01:00