Skip to content

Problem with palette 4 colors. #8

@jackygoule

Description

@jackygoule

Hello, when i open the placeholder file i found in gb-studio .
I see only 4color ,but the plugin export gbm say that i have 5 colors.
The export in .c seem to work correctly .
But when i want to compile with gbdk-2020 i have some errors.

`main.c:309: syntax error: token -> 'guint' ; column 7
main.c:310: error 1: Syntax error, declaration ignored at 'guint'
main.c:311: error 1: Syntax error, declaration ignored at 'guint'
main.c:312: error 1: Syntax error, declaration ignored at 'guint8'
make: *** [Makefile:29 : Example.gb] Erreur 1

the line in my file.c

guint width;
guint height;
guint bytes_per_pixel; /* 2:RGB16, 3:RGB, 4:RGBA */
guint8 pixel_data[160 * 144 * 3 + 1];

Thanks for your help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions