ams: support building unit test programs on windows/linux/macos
This commit is contained in:
1 parent
9a38be201a
commit
64a97576d0
756 files changed
+33359
-9372
No files matched your search
@@ -0,0 +1,27 @@
|
||||
/**
|
||||
* @file ldr_ams.h
|
||||
* @brief Loader (ldr:*) IPC wrapper for Atmosphere extensions.
|
||||
* @author SciresM
|
||||
* @copyright libnx Authors
|
||||
*/
|
||||
#pragma once
|
||||
#include <switch.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct {
|
||||
u64 keys_down;
|
||||
u64 flags;
|
||||
} CfgOverrideStatus;
|
||||
|
||||
Result ldrPmAtmosphereHasLaunchedBootProgram(bool *out, u64 program_id);
|
||||
Result ldrDmntAtmosphereHasLaunchedBootProgram(bool *out, u64 program_id);
|
||||
|
||||
Result ldrPmAtmosphereGetProgramInfo(LoaderProgramInfo *out, CfgOverrideStatus *out_status, const NcmProgramLocation *loc);
|
||||
Result ldrPmAtmospherePinProgram(u64 *out, const NcmProgramLocation *loc, const CfgOverrideStatus *status);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Reference in new issue
Block a user