Skip to content

Commit

Permalink
gx2: Add GX2GetSystemTVAspectRatio
Browse files Browse the repository at this point in the history
  • Loading branch information
GaryOderNichts committed Jun 11, 2024
1 parent 9918fea commit 8474549
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/gx2/display.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ void
GX2SetDRCScale(uint32_t x,
uint32_t y);

GX2AspectRatio
GX2GetSystemTVAspectRatio();

GX2TVScanMode
GX2GetSystemTVScanMode();

Expand Down
6 changes: 6 additions & 0 deletions include/gx2/enum.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ typedef enum GX2AlphaToMaskMode
GX2_ALPHA_TO_MASK_MODE_DITHER_270 = 4,
} GX2AlphaToMaskMode;

typedef enum GX2AspectRatio
{
GX2_ASPECT_RATIO_4_3 = 0,
GX2_ASPECT_RATIO_16_9 = 1,
} GX2AspectRatio;

typedef enum GX2AttribFormat
{
GX2_ATTRIB_TYPE_8 = 0x00,
Expand Down

0 comments on commit 8474549

Please sign in to comment.