move SQ macro define to header file so project builds (#705)

This commit is contained in:
Rainchus
2025-05-02 17:52:04 -05:00
committed by GitHub
parent 5dbcf42e95
commit 8dfb7e7fd5
2 changed files with 2 additions and 3 deletions
+2
View File
@@ -103,4 +103,6 @@
**/
#define GET_PACKED_END(dl) (((u8*) dl) + sizeof(dl) - sizeof(dl[0]) - 0x07000000)
#define SQ(x) ((x) * (x))
#endif
-3
View File
@@ -33,9 +33,6 @@ s16 D_8018EDB4;
Vtx* D_8018EDB8;
Vtx* D_8018EDBC;
/*** utils **/
#define SQ(x) ((x) * (x))
void func_800AF9B0(void) {
D_8018EDB8 = (void*) get_next_available_memory_addr(480 * sizeof(Vtx));
D_8018EDBC = (void*) get_next_available_memory_addr(480 * sizeof(Vtx));