mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-11 13:08:33 -04:00
change ANDROID define to TARGET_ANDROID
This commit is contained in:
+1
-1
@@ -54,7 +54,7 @@ void *_memcpy(void* dest, void const* src, int n) {
|
||||
}
|
||||
|
||||
void DCZeroRange(void* addr, uint32_t nBytes) {
|
||||
#if defined(_MSC_VER) || ANDROID
|
||||
#if defined(_MSC_VER) || TARGET_ANDROID
|
||||
memset(addr, 0, nBytes);
|
||||
#else
|
||||
bzero(addr, nBytes);
|
||||
|
||||
@@ -47,7 +47,7 @@ void fileDialogCallback(void* userdata, const char* const* filelist, [[maybe_unu
|
||||
ImGuiPreLaunchWindow::ImGuiPreLaunchWindow() = default;
|
||||
|
||||
bool ImGuiPreLaunchWindow::isSelectedPathValid() const {
|
||||
#if ANDROID
|
||||
#if TARGET_ANDROID
|
||||
return !m_selectedIsoPath.empty(); // unsure why SDL_GetPathInfo doesnt work here
|
||||
#else
|
||||
return !m_selectedIsoPath.empty() && SDL_GetPathInfo(m_selectedIsoPath.c_str(), nullptr);
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "tracy/Tracy.hpp"
|
||||
|
||||
#if ANDROID
|
||||
#if TARGET_ANDROID
|
||||
#include "android/log.h"
|
||||
#include <vector>
|
||||
#include <sstream>
|
||||
@@ -97,7 +97,7 @@ static bool IsForStubLog(const char* message) {
|
||||
return false;
|
||||
}
|
||||
|
||||
#if ANDROID
|
||||
#if TARGET_ANDROID
|
||||
void aurora_log_callback(AuroraLogLevel level, const char* module, const char* message,
|
||||
unsigned int len) {
|
||||
ZoneScoped;
|
||||
|
||||
Reference in New Issue
Block a user