The sleep is only needed if we output data

This commit is contained in:
Jakub Zika 2011-09-21 13:55:41 +02:00
parent 1bba88fe52
commit 5d2e56b0ec

View file

@ -290,9 +290,8 @@ int main(int argc, char* argv[])
tcgetattr(fileno(fp), &t);
cfsetspeed(&t, B38400);
tcsetattr(fileno(fp), TCSADRAIN, &t);
}
sleep(2);
}
if (SDL_Init(SDL_INIT_VIDEO) < 0) return 1;
if (!(screen = SDL_SetVideoMode(RESX, RESY, BPP, SDL_HWSURFACE))) {