We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried various arduino ide but still a bug.
E:\gameboy\gameboy.ino: In function 'void setup()':
gameboy:14:26: error: invalid conversion from 'const char*' to 'const unsigned char*' [-fpermissive]
int r = rom_init(gb_rom);
^
In file included from E:\gameboy\gameboy.ino:3:0:
sketch\rom.h:9:5: note: initializing argument 1 of 'int rom_init(const unsigned char*)'
int rom_init(const unsigned char *);
exit status 1
The text was updated successfully, but these errors were encountered:
In gbrom.h, try changing
const char gb_rom[]={
to
const unsigned char gb_rom[]={
Mine still isn't working, so I don't know that this is a fix. It will compile though.
Sorry, something went wrong.
No branches or pull requests
I tried various arduino ide but still a bug.
E:\gameboy\gameboy.ino: In function 'void setup()':
gameboy:14:26: error: invalid conversion from 'const char*' to 'const unsigned char*' [-fpermissive]
int r = rom_init(gb_rom);
In file included from E:\gameboy\gameboy.ino:3:0:
sketch\rom.h:9:5: note: initializing argument 1 of 'int rom_init(const unsigned char*)'
int rom_init(const unsigned char *);
exit status 1
The text was updated successfully, but these errors were encountered: