* Game 73%

* Fix build
This commit is contained in:
Aetias
2025-07-19 18:51:07 +02:00
committed by GitHub
parent 573b696ff8
commit 32cc123547
29 changed files with 399 additions and 67 deletions
+19
View File
@@ -0,0 +1,19 @@
#ifndef _NDS_GFX_H
#define _NDS_GFX_H
#include "global.h"
#include "types.h"
#ifdef __cplusplus
extern "C" {
#endif
#define GFX_FIFO_SWAP_BUFFERS (*(volatile u32 *) 0x04000540)
#define GFX_FIFO_VIEWPORT (*(volatile u32 *) 0x04000580)
#define REG_VCOUNT (*(volatile u16 *) 0x04000006)
#ifdef __cplusplus
}
#endif
#endif
+18
View File
@@ -0,0 +1,18 @@
#ifndef _NDS_IRQ_H
#define _NDS_IRQ_H
#include "global.h"
#include "types.h"
#ifdef __cplusplus
extern "C" {
#endif
u32 OS_DisableInterrupts_Irq();
void OS_RestoreInterrupts(u32);
#ifdef __cplusplus
}
#endif
#endif