Skip to content

Commit

Permalink
Add missing file
Browse files Browse the repository at this point in the history
  • Loading branch information
Cuyler36 committed Feb 22, 2023
1 parent 0be91c3 commit dcc61e5
Show file tree
Hide file tree
Showing 2 changed files with 413 additions and 0 deletions.
18 changes: 18 additions & 0 deletions include/libultra/u64types.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#ifndef U64TYPES_H
#define U64TYPES_H

#include "types.h"

typedef struct {
u32 r:8;
u32 g:8;
u32 b:8;
u32 a:8;
} rgba8888_t;

typedef union {
u32 rgba8888;
rgba8888_t c;
} rgba8888;

#endif
Loading

0 comments on commit dcc61e5

Please sign in to comment.