aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorlizzie <lizzie@eden-emu.dev>2026-08-28 02:29:52 +0200
committercrueter <crueter@eden-emu.dev>2026-08-28 02:29:52 +0200
commitf635827fa66c2c4e5d50136e147dd1ac1439cd3f (patch)
treef972cc766305f04eebeb83944341df06530de388 /src/core
parent243453c1725545e8a20a2ddff5cd902c68fd3487 (diff)
[common/stb] remove unused I/O funcs from non-LTO builds, use common/stb.h on ns service (#4282)
Signed-off-by: lizzie <lizzie@eden-emu.dev> - [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions). - [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md) - [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability. ------------------- - remove I/O functions that are unused from LTO builds - use common/stb.h on ns simple change really, not much to explain here Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4282 Reviewed-by: Maufeat <sahyno1996@gmail.com> Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/ns/read_only_application_control_data_interface.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/hle/service/ns/read_only_application_control_data_interface.cpp b/src/core/hle/service/ns/read_only_application_control_data_interface.cpp
index 6227fc44cc..6e486855d6 100644
--- a/src/core/hle/service/ns/read_only_application_control_data_interface.cpp
+++ b/src/core/hle/service/ns/read_only_application_control_data_interface.cpp
@@ -9,11 +9,7 @@
#include <optional>
#include <string>
-#define STBI_ONLY_JPEG 1
-#include <stb_image.h>
-#include <stb_image_resize.h>
-#include <stb_image_write.h>
-
+#include "common/stb.h"
#include "common/settings.h"
#include "core/file_sys/control_metadata.h"
#include "core/file_sys/patch_manager.h"