X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fgpu.h;h=63a5572034d10e58dabe036cefb140ed1df3a1df;hb=16c8be170aef16720d553992f69f5244550a9415;hp=d02dca409c141c39f0b3188041db58683dbb7157;hpb=ddbaf678c49d33cf60f1eac5069e3275baa2c685;p=pcsx_rearmed.git diff --git a/libpcsxcore/gpu.h b/libpcsxcore/gpu.h index d02dca40..63a55720 100644 --- a/libpcsxcore/gpu.h +++ b/libpcsxcore/gpu.h @@ -1,3 +1,19 @@ +/* Pcsx - Pc Psx Emulator + * Copyright (C) 1999-2016 Pcsx Team + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see . + */ /* * q: Why bother with GPU stuff in a plugin-based emu core? @@ -5,9 +21,13 @@ * that GPU plugin doesn't. */ -#define PSXGPU_LCF (1<<31) -#define PSXGPU_nBUSY (1<<26) -#define PSXGPU_ILACE (1<<22) +#define PSXGPU_LCF (1<<31) +#define PSXGPU_nBUSY (1<<26) +#define PSXGPU_ILACE (1<<22) +#define PSXGPU_DHEIGHT (1<<19) + +// both must be set for interlace to work +#define PSXGPU_ILACE_BITS (PSXGPU_ILACE | PSXGPU_DHEIGHT) #define HW_GPU_STATUS psxHu32ref(0x1814)