mirror of
https://github.com/thunderbrewhq/binana.git
synced 2025-12-12 09:52:28 +00:00
feat(binana): update files
This commit is contained in:
parent
c9bc10c3ca
commit
5a8e559a74
19 changed files with 2325 additions and 702 deletions
|
|
@ -1,37 +1,50 @@
|
|||
#ifndef GX_FORMAT_H
|
||||
#define GX_FORMAT_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "tempest/vector.h"
|
||||
|
||||
typedef enum CGxFormat__Format CGxFormat__Format;
|
||||
typedef struct CGxFormat CGxFormat;
|
||||
|
||||
enum CGxFormat__Format {
|
||||
Fmt_Rgb565 = 0,
|
||||
Fmt_ArgbX888 = 1,
|
||||
Fmt_Argb8888 = 2,
|
||||
Fmt_Argb2101010 = 3,
|
||||
Fmt_Ds160 = 4,
|
||||
Fmt_Ds24X = 5,
|
||||
Fmt_Ds248 = 6,
|
||||
Fmt_Ds320 = 7,
|
||||
Formats_Last = 8
|
||||
};
|
||||
|
||||
struct CGxFormat {
|
||||
bool hwTnL;
|
||||
int8_t window;
|
||||
int32_t maximize;
|
||||
CGxFormat__Format depthFormat;
|
||||
C2iVector size;
|
||||
uint32_t sampleCount;
|
||||
CGxFormat__Format colorFormat;
|
||||
uint32_t refreshRate;
|
||||
uint32_t vsync;
|
||||
C2iVector pos;
|
||||
};
|
||||
|
||||
#endif
|
||||
#ifndef GX_FORMAT_H
|
||||
#define GX_FORMAT_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "tempest/vector.h"
|
||||
|
||||
typedef enum CGxFormat__Format CGxFormat__Format;
|
||||
typedef struct CGxFormat CGxFormat;
|
||||
|
||||
enum CGxFormat__Format {
|
||||
Fmt_Rgb565 = 0,
|
||||
Fmt_ArgbX888 = 1,
|
||||
Fmt_Argb8888 = 2,
|
||||
Fmt_Argb2101010 = 3,
|
||||
Fmt_Ds160 = 4,
|
||||
Fmt_Ds24X = 5,
|
||||
Fmt_Ds248 = 6,
|
||||
Fmt_Ds320 = 7,
|
||||
Formats_Last = 8
|
||||
};
|
||||
|
||||
struct CGxFormat {
|
||||
uint32_t unk0;
|
||||
bool hwTnL;
|
||||
int8_t unk5;
|
||||
int8_t fixLag;
|
||||
int8_t window;
|
||||
uint32_t unk8;
|
||||
int32_t maximize;
|
||||
CGxFormat__Format depthFormat;
|
||||
C2iVector size;
|
||||
uint32_t unk1C;
|
||||
uint32_t sampleCount;
|
||||
float float24;
|
||||
CGxFormat__Format colorFormat;
|
||||
uint32_t refreshRate;
|
||||
uint32_t vsync;
|
||||
uint32_t unk34;
|
||||
uint32_t unk38;
|
||||
uint32_t unk3C;
|
||||
uint32_t unk40;
|
||||
uint32_t unk44;
|
||||
uint32_t unk48;
|
||||
uint32_t unk4C;
|
||||
C2iVector pos;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue