audit 40c6f2f1ad libretro: don't dereference NULL on allocation failure (OSK, frame blend)
a5200_osk_init() wrote the fill loop straight into osk_bmp without
checking the malloc, and a5200_osk_draw() memcpy'd from it
unconditionally, so an allocation failure was a NULL dereference rather
than a graceful no-op. Guard both.

init_frame_blending() likewise memset and later used video_buffer_prev
without checking the allocation; on failure, disable blending instead of
dereferencing NULL.
2026-08-01 15:23:16 +02:00
2021-12-23 17:08:40 +00:00
2026-04-20 19:40:59 +02:00
2020-02-17 10:25:19 +01:00
2021-12-23 17:08:40 +00:00
2020-02-17 10:25:19 +01:00

a5200

Port of Atari 5200 emulator for GCW0

Special thanks to :
Atari800 team for source code (http://atari800.sourceforge.net/)
zx81 (http://zx81.zx81.free.fr/serendipity_fr/) for GP2X-Atari version (that helped me a lot to understand Atari 5200).
qbertaddict for test.

S
Description
No description provided
Readme GPL-2.0
52 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 98%
Makefile 2%