Minor cleanup
Removed some unneded parts
This commit is contained in:
parent
b737a3c26b
commit
e321d7d28f
4 changed files with 2 additions and 9 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -25,3 +25,5 @@ Amiberry/VisualGDB/Release/Amiberry
|
|||
*.sqlite
|
||||
Amiberry/VisualGDB/Release-rpi2/Amiberry
|
||||
*.ipch
|
||||
*.db-shm
|
||||
*.db-wal
|
||||
|
|
|
@ -70,8 +70,6 @@ bool aga_mode; /* mirror of chipset_mask & CSMASK_AGA */
|
|||
coordinates have a lower resolution (i.e. we're shrinking the image). */
|
||||
static int res_shift;
|
||||
|
||||
extern SDL_Surface *prSDLScreen;
|
||||
|
||||
/* Lookup tables for dual playfields. The dblpf_*1 versions are for the case
|
||||
that playfield 1 has the priority, dbplpf_*2 are used if playfield 2 has
|
||||
priority. If we need an array for non-dual playfield mode, it has no number. */
|
||||
|
|
|
@ -849,9 +849,6 @@ int main(int argc, char *argv[])
|
|||
rp9_cleanup();
|
||||
|
||||
logging_cleanup();
|
||||
|
||||
// printf("Threads at exit:\n");
|
||||
// dbg_list_threads();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -175,10 +175,6 @@ static void open_screen(struct uae_prefs *p)
|
|||
|
||||
if (Dummy_prSDLScreen == NULL)
|
||||
{
|
||||
const SDL_VideoInfo* videoInfo = SDL_GetVideoInfo();
|
||||
#ifdef DEBUG
|
||||
printf("DispmanX: Current resolution: %d x %d %d bpp\n", videoInfo->current_w, videoInfo->current_h, videoInfo->vfmt->BitsPerPixel);
|
||||
#endif // DEBUG
|
||||
// Dummy_prSDLScreen = SDL_SetVideoMode(videoInfo->current_w, videoInfo->current_h, videoInfo->vfmt->BitsPerPixel, SDL_SWSURFACE | SDL_FULLSCREEN);
|
||||
Dummy_prSDLScreen = SDL_SetVideoMode(width, height, 16, SDL_SWSURFACE | SDL_FULLSCREEN);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue