void gp2x_deinit(void) { free(gp2x_screen); if (sounddev > 0) close(sounddev); close(mixerdev); gp2x_usbjoy_deinit(); }
void gp2x_deinit(void) { SDL_QuitSubSystem(SDL_INIT_VIDEO); SDL_Quit(); free(gp2x_screen); if (sounddev > 0) close(sounddev); gp2x_usbjoy_deinit(); }