mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-09 15:45:40 +12:00
Merge pull request #105 from Wunkolo/tunit-stb_image_write
Move `stb_image_write` into its own translation unit
This commit is contained in:
commit
7382e29fa7
3 changed files with 4 additions and 2 deletions
|
@ -92,7 +92,7 @@ endif()
|
|||
|
||||
set(SOURCE_FILES src/main.cpp src/emulator.cpp src/io_file.cpp src/gl_state.cpp src/config.cpp
|
||||
src/core/CPU/cpu_dynarmic.cpp src/core/CPU/dynarmic_cycles.cpp src/core/memory.cpp
|
||||
src/httpserver.cpp
|
||||
src/httpserver.cpp src/stb_image_write.c
|
||||
)
|
||||
set(CRYPTO_SOURCE_FILES src/core/crypto/aes_engine.cpp)
|
||||
set(KERNEL_SOURCE_FILES src/core/kernel/kernel.cpp src/core/kernel/resource_limits.cpp
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include "emulator.hpp"
|
||||
#define STB_IMAGE_WRITE_IMPLEMENTATION
|
||||
|
||||
#include <stb_image_write.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
|
|
2
src/stb_image_write.c
Normal file
2
src/stb_image_write.c
Normal file
|
@ -0,0 +1,2 @@
|
|||
#define STB_IMAGE_WRITE_IMPLEMENTATION
|
||||
#include <stb_image_write.h>
|
Loading…
Add table
Reference in a new issue