comparison render_sdl.c @ 2553:35f765c2bc87

Fix a couple of bugs with AV recording
author Michael Pavone <pavone@retrodev.com>
date Sat, 11 Jan 2025 17:35:15 -0800
parents f4a471730ba4
children 251cc75574af
comparison
equal deleted inserted replaced
2552:f35109ae45f6 2553:35f765c2bc87
1475 static apng_state *apng; 1475 static apng_state *apng;
1476 static FILE *apng_file; 1476 static FILE *apng_file;
1477 #endif 1477 #endif
1478 uint8_t render_saving_video(void) 1478 uint8_t render_saving_video(void)
1479 { 1479 {
1480 #ifdef DISABLE_ZLIB 1480 #ifndef DISABLE_ZLIB
1481 return apng_file != NULL; 1481 return apng_file != NULL;
1482 #else 1482 #else
1483 return 0; 1483 return 0;
1484 #endif 1484 #endif
1485 } 1485 }