Unified screenshot code and moved it to video.c, it is now independent of both renderer and platform; The EGA/(S)VGA overscan now also works for CGA, PCjr, Tandy, and CGA-using Amstrads; Fixed EGA/(S)VGA overscan operation so it works correctly with scrolling and panning; Fixed 320x200x32K and 320x200x64K modes on the ET4000/W32p; Fixed the Video 7 1024i chip ID and video memory options, fixes #431; Fixed a banking bug in the S3 cards, fixes Windows 9x and NeoPaint.
46 lines
1.0 KiB
C
46 lines
1.0 KiB
C
/*
|
|
* 86Box A hypervisor and IBM PC system emulator that specializes in
|
|
* running old operating systems and software designed for IBM
|
|
* PC systems and compatibles from 1981 through fairly recent
|
|
* system designs based on the PCI bus.
|
|
*
|
|
* This file is part of the 86Box distribution.
|
|
*
|
|
* Direct3D 9 rendererer and screenshots taking.
|
|
*
|
|
* Version: @(#)win_d3d.h 1.0.4 2019/10/12
|
|
*
|
|
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
|
|
* Miran Grca, <mgrca8@gmail.com>
|
|
*
|
|
* Copyright 2008-2019 Sarah Walker.
|
|
* Copyright 2016-2019 Miran Grca.
|
|
*/
|
|
#ifndef WIN_D3D_H
|
|
# define WIN_D3D_H
|
|
# define UNICODE
|
|
# define BITMAP WINDOWS_BITMAP
|
|
# include <d3d9.h>
|
|
# undef BITMAP
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern int d3d_init(HWND h);
|
|
extern int d3d_init_fs(HWND h);
|
|
extern void d3d_close(void);
|
|
extern void d3d_reset(void);
|
|
extern void d3d_reset_fs(void);
|
|
extern int d3d_pause(void);
|
|
extern void d3d_resize(int x, int y);
|
|
extern void d3d_enable(int enable);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
#endif /*WIN_D3D_H*/
|