mirror of
https://github.com/GearsProgress/Poke_Transporter_GB.git
synced 2026-10-24 16:33:27 -05:00
Almost working SPI
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include "LinkSPI.h"
|
||||
#include "gb_link.h"
|
||||
#include "gameboy_colour.h"
|
||||
#include "LinkGPIO.h"
|
||||
|
||||
// This file is autogenerated from the file in the graphics folder
|
||||
#include "metr.h"
|
||||
@@ -76,6 +77,9 @@ void load_sprite(void)
|
||||
|
||||
int main(void)
|
||||
{
|
||||
|
||||
linkGPIO->reset();
|
||||
|
||||
REG_DISPCNT = DCNT_MODE0 | DCNT_BG0 | DCNT_OBJ | DCNT_OBJ_1D;
|
||||
tte_init_se_default(0, BG_CBB(0) | BG_SBB(31));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user