mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
GE Debugger: Include extended CLUT in frame dumps.
Not available on a real PSP, but used in an enhancement (see #15727.)
This commit is contained in:
parent
e374ea6b21
commit
229c944208
@ -454,7 +454,9 @@ static void EmitTransfer(u32 op) {
|
||||
|
||||
static void EmitClut(u32 op) {
|
||||
u32 addr = gstate.getClutAddress();
|
||||
u32 bytes = (op & 0x3F) * 32;
|
||||
// Actually should only be 0x3F, but we allow enhanced CLUTs. See #15727.
|
||||
u32 blocks = (op & 0x7F) == 0x40 ? 0x40 : (op & 0x3F);
|
||||
u32 bytes = blocks * 32;
|
||||
bytes = Memory::ValidSize(addr, bytes);
|
||||
|
||||
if (bytes != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user