622 |
|
}; |
623 |
|
|
624 |
|
class driver_window; |
625 |
+ |
#ifdef ENABLE_VOSF |
626 |
|
static void update_display_window_vosf(driver_window *drv); |
627 |
< |
static void update_display_dynamic(int ticker, driver_window *drv); |
627 |
> |
#endif |
628 |
|
static void update_display_static(driver_base *drv); |
629 |
|
|
630 |
|
class driver_window : public driver_base { |
631 |
+ |
#ifdef ENABLE_VOSF |
632 |
|
friend void update_display_window_vosf(driver_window *drv); |
633 |
< |
friend void update_display_dynamic(int ticker, driver_window *drv); |
633 |
> |
#endif |
634 |
|
friend void update_display_static(driver_base *drv); |
635 |
|
|
636 |
|
public: |
739 |
|
: driver_base(m), mouse_grabbed(false) |
740 |
|
{ |
741 |
|
int width = VIDEO_MODE_X, height = VIDEO_MODE_Y; |
740 |
– |
int aligned_width = (width + 15) & ~15; |
742 |
|
int aligned_height = (height + 15) & ~15; |
743 |
|
|
744 |
|
// Set absolute mouse mode |
892 |
|
: driver_base(m) |
893 |
|
{ |
894 |
|
int width = VIDEO_MODE_X, height = VIDEO_MODE_Y; |
894 |
– |
int aligned_width = (width + 15) & ~15; |
895 |
|
int aligned_height = (height + 15) & ~15; |
896 |
|
|
897 |
|
// Set absolute mouse mode |
1061 |
|
bool SDL_monitor_desc::video_open(void) |
1062 |
|
{ |
1063 |
|
D(bug("video_open()\n")); |
1064 |
– |
const VIDEO_MODE &mode = get_current_mode(); |
1064 |
|
#if DEBUG |
1065 |
+ |
const VIDEO_MODE &mode = get_current_mode(); |
1066 |
|
D(bug("Current video mode:\n")); |
1067 |
|
D(bug(" %dx%d (ID %02x), %d bpp\n", VIDEO_MODE_X, VIDEO_MODE_Y, VIDEO_MODE_RESOLUTION, 1 << (VIDEO_MODE_DEPTH & 0x0f))); |
1068 |
|
#endif |