~ubuntu-branches/ubuntu/lucid/sdlmame/lucid

« back to all changes in this revision

Viewing changes to src/osd/sdl/video.c

  • Committer: Bazaar Package Importer
  • Author(s): Cesare Falco
  • Date: 2009-11-03 17:10:15 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20091103171015-6hop4ory5lxnumpn
Tags: 0.135-0ubuntu1
* New upstream release - Closes (LP: #403212)
* debian/watch: unstable releases are no longer detected
* mame.ini: added the cheat subdirectories to cheatpath so zipped
  cheatfiles will be searched too
* renamed crsshair subdirectory to crosshair to reflect upstream change
* mame.ini: renamed references to crosshair subdirectory (see above)

Show diffs side-by-side

added added

removed removed

Lines of Context:
339
339
        // if we're not skipping this redraw, update all windows
340
340
        if (!skip_redraw)
341
341
        {
342
 
                profiler_mark(PROFILER_BLIT);
 
342
//              profiler_mark(PROFILER_BLIT);
343
343
                for (window = sdl_window_list; window != NULL; window = window->next)
344
344
                        sdlwindow_video_window_update(machine, window);
345
 
                profiler_mark(PROFILER_END);
 
345
//              profiler_mark(PROFILER_END);
346
346
        }
347
347
 
348
348
        // poll the joystick values here
459
459
                        SDL_DisplayMode dmode;
460
460
 
461
461
                        // allocate a new monitor info
462
 
                        monitor = malloc_or_die(sizeof(*monitor));
 
462
                        monitor = alloc_or_die(sdl_monitor_info);
463
463
                        memset(monitor, 0, sizeof(*monitor));
464
464
 
465
465
                        snprintf(monitor->monitor_device, sizeof(monitor->monitor_device)-1, "%s%d", SDLOPTION_SCREEN(""),i);