Skip to content

Commit

Permalink
Proper ensata handshake on reconnection.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlbuhtig4096 committed Oct 20, 2024
1 parent 7984eae commit dcc9db8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desmume/src/MMU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4969,7 +4969,7 @@ void FASTCALL _MMU_ARM9_write32(u32 adr, u32 val)
//todo - these are usually write only regs (these and 1000 more)
//shouldnt we block them from getting written? ugh
case eng_3D_CLIPMTX_RESULT:
if(nds.ensataEmulation && nds.ensataHandshake == ENSATA_HANDSHAKE_none && val==0x2468ace0)
if(nds.ensataEmulation /* && nds.ensataHandshake == ENSATA_HANDSHAKE_none */&& val==0x2468ace0)
{
printf("ENSATA HANDSHAKE BEGIN\n");
nds.ensataHandshake = ENSATA_HANDSHAKE_query;
Expand Down

0 comments on commit dcc9db8

Please sign in to comment.