Commit Graph

6 Commits

Author SHA1 Message Date
funkenzuzzler
cbea89aa6b Misc fixes (#1103)
* DiskImage: match new[] with delete[]

Signed-off-by: Sven Schnelle <fz@stackframe.org>

* st_tos: match new[] with delete[]

Signed-off-by: Sven Schnelle <fz@stackframe.org>

* scaler: fix calloc arguments

The first argument is the number of members, the second
argument the size of each member. Swap the arguments to
the correct order to prevent warings with newer compilers.

Signed-off-by: Sven Schnelle <fz@stackframe.org>

---------

Signed-off-by: Sven Schnelle <fz@stackframe.org>
2026-02-24 18:57:25 +08:00
Alan Steremberg
6992c3e135 screenshot - changed png library to imlib2, and added scaling by default (#481)
windows - PrintScrn will output the image scaled to the output resolution of the scaler. Windows - LSHIFT - PrintScrn will save the original size from the core.
2021-11-16 06:09:33 +08:00
sorgelig
9cd404ea65 Common shared memory module. Using O_CLOEXEC for opened files. 2021-04-16 23:12:46 +08:00
sorgelig
f056480a07 Normalize line endings, remove trailing spaces. 2019-06-29 00:57:18 +08:00
sorgelig
798c996c6e Update screenshot code. 2019-05-09 21:41:33 +08:00
Alan Steremberg
4a978dbf4c fixed scaler spelling 2019-05-08 16:10:25 -07:00