Move stb_image_write into its own translation unit

Rather than having the entire implementation within `emulator.cpp`,
causing incremental builds to be much slower, give it its own
translation unit `stb_image_write.c`.
This commit is contained in:
Wunkolo 2023-07-11 10:43:17 -07:00
parent 148232c0b2
commit e4e8e7ce26
3 changed files with 4 additions and 2 deletions

2
src/stb_image_write.c Normal file
View file

@ -0,0 +1,2 @@
#define STB_IMAGE_WRITE_IMPLEMENTATION
#include <stb_image_write.h>