15 Commits

Author SHA1 Message Date
Gordon Williams
4e85b79ab4 Linux SDL: Use SDL2, more keys forwarded, allow resizing of gfx window
Fix Linux ARM64 build
Misc tweaks from Pipboy build
2025-11-04 16:39:00 +00:00
rblakesley
5f2aafd9e9 Resizable emulator graphics window 2025-09-19 08:42:42 +01:00
Gordon Williams
a75f2a77a7 add ESPR_FS_PREPEND_PATH, other compile fixes 2025-09-12 11:48:23 +01:00
Pavel Machek
19d632ef33 sdl: add quit handling 2025-01-16 12:30:26 +01:00
Pavel Machek
ea791c73e4 sdl: Add SDL input handling 2025-01-15 22:41:42 +01:00
Pavel Machek
f4f0372e57 sdl: Set window title 2025-01-15 15:42:28 +01:00
Gordon Williams
ab8a8c7aba Adding STM32F4LCD board 2024-11-21 10:58:42 +00:00
Gordon Williams
4327ebd34e Tidying up error messages (no trailing '.' or '\n'), making almost-similar error messages the same
Used the following to try and find issues:

find . -name "*.c" | xargs -I{} grep -h jsExceptionHere {} | sed -e "s/^[^\"]*\"/\"/" | sort | uniq -c
2023-10-06 10:47:58 +01:00
Gordon Williams
0dfc922100 Just use ints when passing coordinates around. Using short just added about 1k of extra code! 2019-10-23 16:24:39 +01:00
Gordon Williams
ad1fb3ea59 Allow drawImage to render images rotated and scaled 2019-10-02 11:32:42 +01:00
fanoush
c0c1b20541 fix lcdGetPixel_SDL reading wrong pixels
Multiply by width was missing in GetPixel, now using same code as in SetPixel.
Current bug causes Graphics.scroll(x, y) to produce very strange patterns, after fix it works as expected.
2019-06-25 14:18:41 +02:00
Gordon Williams
1aee068bb6 Converted parse errors to throw exceptions 2014-06-20 10:27:08 +01:00
Gordon Williams
e88141c76d Callback graphics now works even without a fillRect implementation (fix #295) 2014-04-07 13:11:34 +01:00
Gordon Williams
23a8889f9b improve SDL performance by only flipping when idle 2014-03-19 10:12:16 +00:00
Gordon Williams
f3d6e0bc83 First commit 2013-09-26 14:39:04 +01:00