Hello, I'd really like to cleanup the code for SDL_main, but a prerequisite is to change reading of cache information on PPC Linux. This patch is based on suggestion by Hollis Blanchard. If ppc_init_cacheline_sizes gets fixed on PPC Linux we will no longer need to pass the "env" variable around and the code will be cleaner. Unfortunately I don't have access to PPC Linux, so I can't really test if the patch works or even compiles, so any help is appreciated. Thanks, Filip Navara