1 /* Copyright 2006 Theo Berkau 2 3 This file is part of Yabause. 4 5 Yabause is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License as published by 7 the Free Software Foundation; either version 2 of the License, or 8 (at your option) any later version. 9 10 Yabause is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 GNU General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with Yabause; if not, write to the Free Software 17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 18 */ 19 20 #ifndef VIDSOFT_H 21 #define VIDSOFT_H 22 23 #include "vdp1.h" 24 25 #define VIDCORE_SOFT 2 26 27 extern pixel_t *dispbuffer; 28 29 extern VideoInterface_struct VIDSoft; 30 31 void VIDSoftVdp2DrawScreen(int screen); 32 33 void VIDSoftSetBilinear(int b); 34 35 void VIDSoftSetNumPriorityThreads(int num); 36 37 void Vdp2GetInterlaceInfo(int * start_line, int * line_increment); 38 39 void VIDSoftSetNumLayerThreads(int num); 40 41 void VIDSoftSetVdp1ThreadEnable(int b); 42 43 void VidsoftWaitForVdp1Thread(); 44 45 #endif 46