Move stdio_init_all() to before video initialization
This commit is contained in:
@@ -97,7 +97,10 @@ void FlushChar()
|
||||
|
||||
int main()
|
||||
{
|
||||
int i;
|
||||
// initialize stdio
|
||||
stdio_init_all();
|
||||
|
||||
int i;
|
||||
|
||||
// initialize random number generator
|
||||
RandInitSeed();
|
||||
@@ -117,9 +120,6 @@ int main()
|
||||
// initialize videomode
|
||||
VideoInit();
|
||||
|
||||
// initialize stdio
|
||||
stdio_init_all();
|
||||
|
||||
// initialize sound output
|
||||
PWMSndInit();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user