commit a103ea1

Devine Lu Linvega  ·  2026-05-25 23:20:32 +0000 UTC
parent 25407c0
Removed snprintf test
1 files changed,  +0, -1
+0, -1
1@@ -1124,7 +1124,6 @@ emu_screenshot(void)
2 	int tx, ty, row, col, tw = screen_width / 8, th = screen_height / 8;
3 	put_size((Uint8 *)filename + 1, 2, tw);
4 	put_size((Uint8 *)filename + 4, 2, th);
5-	snprintf(filename, sizeof(filename), "_%02xx%02x.chr", tw, th);
6 	f = fopen(filename, "wb");
7 	if(f) {
8 		for(ty = 0; ty < th; ty++) {