action replay: fix D8 codes (were writing 16 bits instead of 8)

This commit is contained in:
zeromus 2017-04-06 00:15:33 -05:00
parent d82110e99b
commit 8c1627b8c0
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2009-2016 DeSmuME team
Copyright (C) 2009-2017 DeSmuME team
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@ -436,7 +436,7 @@ void CHEATS::ARparser(CHEATS_LIST& list)
//<gbatek> byte[XXXXXXXX+offset]=datareg, offset=offset+1
x = lo;
addr = x + st.offset;
_MMU_write16<ARMCPU_ARM7,MMU_AT_DEBUG>(addr, st.data);
_MMU_write08<ARMCPU_ARM7,MMU_AT_DEBUG>(addr, st.data);
st.offset += 1;
break;