mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-07 01:56:23 +00:00
Update Source/Core/Core/HW/DVD/AMMediaboard.cpp
Co-authored-by: Pokechu22 <pokechu022@gmail.com>
This commit is contained in:
parent
05c2f5d09f
commit
92265a7158
1 changed files with 3 additions and 6 deletions
|
@ -427,19 +427,16 @@ u32 ExecuteCommand(std::array<u32, 3>& DICMDBUF, u32 address, u32 length)
|
|||
}
|
||||
}
|
||||
|
||||
DICMDBUF[0] <<= 24;
|
||||
DICMDBUF[1] <<= 2;
|
||||
u32 command = DICMDBUF[0] << 24;
|
||||
u32 offset = DICMDBUF[1] << 2;
|
||||
|
||||
// SegaBoot adds bits for some reason to offset/length
|
||||
// also adds 0x20 to offset
|
||||
if (DICMDBUF[1] == 0x00100440)
|
||||
if (offset == 0x00100440)
|
||||
{
|
||||
s_segaboot = true;
|
||||
}
|
||||
|
||||
u32 command = DICMDBUF[0];
|
||||
u32 offset = DICMDBUF[1];
|
||||
|
||||
INFO_LOG_FMT(DVDINTERFACE_AMMB,
|
||||
"GC-AM: {:08x} {:08x} DMA=addr:{:08x},len:{:08x} Keys: {:08x} {:08x} {:08x}",
|
||||
command, offset, address, length, s_GCAM_key_a, s_GCAM_key_b, s_GCAM_key_c);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue