mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-20 16:57:54 -05:00
GPU: Fixed bug in command list size decoding.
This commit is contained in:
@ -154,8 +154,7 @@ inline void Write(u32 addr, const T data) {
|
||||
if (config.trigger & 1)
|
||||
{
|
||||
u32* buffer = (u32*)Memory::GetPointer(Memory::PhysicalToVirtualAddress(config.GetPhysicalAddress()));
|
||||
u32 size = config.size << 3;
|
||||
Pica::CommandProcessor::ProcessCommandList(buffer, size);
|
||||
Pica::CommandProcessor::ProcessCommandList(buffer, config.size);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
@ -169,7 +169,7 @@ struct Regs {
|
||||
INSERT_PADDING_WORDS(0x331);
|
||||
|
||||
struct {
|
||||
// command list size
|
||||
// command list size (in bytes)
|
||||
u32 size;
|
||||
|
||||
INSERT_PADDING_WORDS(0x1);
|
||||
|
Reference in New Issue
Block a user