git @ Cat's Eye Technologies linapple / ddd532e
Removed debug message; removed unnecessary canonical path passed to SDL_LoadBMP() as the root problem was found. ghedger 4 years ago
1 changed file(s) with 1 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
18931893 vidlastmem = (LPBYTE)VirtualAlloc(NULL,0x10000,MEM_COMMIT,PAGE_READWRITE);
18941894 ZeroMemory(vidlastmem,0x10000);
18951895
1896 printf( "%s\n", (config.GetUserFilePath() + "splash.bmp").c_str());
1897
18981896 // LOAD THE splash screen
1899 tmp_surface = SDL_LoadBMP((config.GetUserFilePath() + "splash.bmp").c_str());
1897 tmp_surface = SDL_LoadBMP("splash.bmp");
19001898 if (tmp_surface != NULL) g_hLogoBitmap = SDL_DisplayFormat(tmp_surface);
19011899 else fprintf(stderr, "Video: splash.bmp was not loaded\n");
19021900 SDL_FreeSurface(tmp_surface);