mirror of https://github.com/PCSX2/pcsx2.git
IPU: Store thresholds for color conversions in u16, bump savestate version.
This commit is contained in:
parent
1a327a73a0
commit
cd33a17584
|
@ -1,5 +1,5 @@
|
||||||
/* PCSX2 - PS2 Emulator for PCs
|
/* PCSX2 - PS2 Emulator for PCs
|
||||||
* Copyright (C) 2002-2010 PCSX2 Dev Team
|
* Copyright (C) 2002-2021 PCSX2 Dev Team
|
||||||
*
|
*
|
||||||
* PCSX2 is free software: you can redistribute it and/or modify it under the terms
|
* PCSX2 is free software: you can redistribute it and/or modify it under the terms
|
||||||
* of the GNU Lesser General Public License as published by the Free Software Found-
|
* of the GNU Lesser General Public License as published by the Free Software Found-
|
||||||
|
@ -41,7 +41,7 @@ void IPUWorker();
|
||||||
|
|
||||||
// Quantization matrix
|
// Quantization matrix
|
||||||
static rgb16_t vqclut[16]; //clut conversion table
|
static rgb16_t vqclut[16]; //clut conversion table
|
||||||
static u8 s_thresh[2]; //thresholds for color conversions
|
static u16 s_thresh[2]; //thresholds for color conversions
|
||||||
int coded_block_pattern = 0;
|
int coded_block_pattern = 0;
|
||||||
|
|
||||||
alignas(16) static u8 indx4[16*16/2];
|
alignas(16) static u8 indx4[16*16/2];
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* PCSX2 - PS2 Emulator for PCs
|
/* PCSX2 - PS2 Emulator for PCs
|
||||||
* Copyright (C) 2002-2010 PCSX2 Dev Team
|
* Copyright (C) 2002-2021 PCSX2 Dev Team
|
||||||
*
|
*
|
||||||
* PCSX2 is free software: you can redistribute it and/or modify it under the terms
|
* PCSX2 is free software: you can redistribute it and/or modify it under the terms
|
||||||
* of the GNU Lesser General Public License as published by the Free Software Found-
|
* of the GNU Lesser General Public License as published by the Free Software Found-
|
||||||
|
@ -31,7 +31,7 @@ enum class FreezeAction
|
||||||
// the lower 16 bit value. IF the change is breaking of all compatibility with old
|
// the lower 16 bit value. IF the change is breaking of all compatibility with old
|
||||||
// states, increment the upper 16 bit value, and clear the lower 16 bits to 0.
|
// states, increment the upper 16 bit value, and clear the lower 16 bits to 0.
|
||||||
|
|
||||||
static const u32 g_SaveVersion = (0x9A20 << 16) | 0x0000;
|
static const u32 g_SaveVersion = (0x9A21 << 16) | 0x0000;
|
||||||
|
|
||||||
// the freezing data between submodules and core
|
// the freezing data between submodules and core
|
||||||
// an interesting thing to note is that this dates back from before plugin
|
// an interesting thing to note is that this dates back from before plugin
|
||||||
|
|
Loading…
Reference in New Issue