aboutsummaryrefslogtreecommitdiff
path: root/Source/Serial.c
diff options
context:
space:
mode:
authorXavier ASUS <xavi92psx@gmail.com>2018-11-30 01:34:40 +0100
committerXavier ASUS <xavi92psx@gmail.com>2018-11-30 01:34:40 +0100
commit8fcf5bf1f74873f49b792d3e3f661a2e7feda673 (patch)
treed134d1c9d50aefcd00f973d34d14c519b0526c77 /Source/Serial.c
parentc33fcca6d44264834baf42de65fe9d19c0f62ff4 (diff)
Removed SIO interrupt (it caused VBlank ISR not to be triggered).
Added Gfx wait on LoadMenuEnd(). Otherwise, some levels would not start after loading all required files. Also, added GPU wait on Menu.c before entering the main loop. An invalid index inside sound table was being accessed when creating an arrival flight. This made the game crash only under real hardware. Other minor changes and fixes.
Diffstat (limited to 'Source/Serial.c')
-rw-r--r--Source/Serial.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/Serial.c b/Source/Serial.c
index b654412..2002d72 100644
--- a/Source/Serial.c
+++ b/Source/Serial.c
@@ -31,7 +31,6 @@ typedef enum
static volatile SERIAL_STATE SerialState;
static volatile bool serial_busy;
-static void ISR_Serial(void);
/* *************************************
* Local Prototypes
@@ -39,16 +38,9 @@ static void ISR_Serial(void);
void SerialInit(void)
{
- SetSIOHandler(&ISR_Serial);
-
SIOStart(115200);
}
-static void ISR_Serial(void)
-{
- Serial_printf("SIO\n");
-}
-
bool SerialRead(uint8_t* ptrArray, size_t nBytes)
{
if (nBytes == 0)