mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-08-14 10:29:23 +02:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
3197b1e25b | ||
|
822cbbbc8b | ||
|
4237f52ee2 |
@ -44,8 +44,9 @@
|
|||||||
#include <bit>
|
#include <bit>
|
||||||
#include <span>
|
#include <span>
|
||||||
|
|
||||||
/* Stratosphere wants additional libstdc++ headers, others do not. */
|
/* Stratosphere/Troposphere want additional libstdc++ headers and libnx,
|
||||||
#ifdef ATMOSPHERE_IS_STRATOSPHERE
|
* others do not. */
|
||||||
|
#if defined(ATMOSPHERE_IS_STRATOSPHERE) || defined(ATMOSPHERE_IS_TROPOSPHERE)
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
@ -71,7 +72,7 @@
|
|||||||
/* Non-EL0 code can't include libnx. */
|
/* Non-EL0 code can't include libnx. */
|
||||||
#include "types.hpp"
|
#include "types.hpp"
|
||||||
|
|
||||||
#endif /* ATMOSPHERE_IS_STRATOSPHERE */
|
#endif /* defined(ATMOSPHERE_IS_STRATOSPHERE) || defined(ATMOSPHERE_IS_TROPOSPHERE) */
|
||||||
|
|
||||||
/* Atmosphere meta. */
|
/* Atmosphere meta. */
|
||||||
#include <vapours/ams_version.h>
|
#include <vapours/ams_version.h>
|
||||||
|
@ -50,6 +50,8 @@ ARCH := -march=armv8-a+crc+crypto -mtune=cortex-a57 -mtp=soft -fPIE
|
|||||||
CFLAGS := -g -Wall -O2 -ffunction-sections \
|
CFLAGS := -g -Wall -O2 -ffunction-sections \
|
||||||
$(ARCH) $(DEFINES)
|
$(ARCH) $(DEFINES)
|
||||||
|
|
||||||
|
CFLAGS += -Wno-misleading-indentation -Wno-use-after-free -Wno-unused-function
|
||||||
|
|
||||||
CFLAGS += $(INCLUDE) -D__SWITCH__
|
CFLAGS += $(INCLUDE) -D__SWITCH__
|
||||||
|
|
||||||
CXXFLAGS := $(CFLAGS) -std=gnu++17 -fno-exceptions -fno-rtti
|
CXXFLAGS := $(CFLAGS) -std=gnu++17 -fno-exceptions -fno-rtti
|
||||||
|
@ -1277,7 +1277,7 @@ namespace dbk {
|
|||||||
if (InitializeMenu(screen_width, screen_height)) {
|
if (InitializeMenu(screen_width, screen_height)) {
|
||||||
|
|
||||||
/* Set the update path. */
|
/* Set the update path. */
|
||||||
strncpy(g_update_path, update_path, sizeof(g_update_path));
|
strncpy(g_update_path, update_path, sizeof(g_update_path)-1);
|
||||||
|
|
||||||
/* Change the menu. */
|
/* Change the menu. */
|
||||||
ChangeMenu(std::make_shared<ValidateUpdateMenu>(g_current_menu));
|
ChangeMenu(std::make_shared<ValidateUpdateMenu>(g_current_menu));
|
||||||
|
@ -15,7 +15,9 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#define ATMOSPHERE_IS_TROPOSPHERE
|
||||||
#define ATMOSPHERE_OS_HORIZON
|
#define ATMOSPHERE_OS_HORIZON
|
||||||
|
#define ATMOSPHERE_BOARD_NINTENDO_NX
|
||||||
#define ATMOSPHERE_ARCH_ARM64
|
#define ATMOSPHERE_ARCH_ARM64
|
||||||
#define ATMOSPHERE_ARCH_ARM_V8A
|
#define ATMOSPHERE_ARCH_ARM_V8A
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user