Win32 - Rmawatch - Oops, typo. 2 byte is now little endian for real.
This commit is contained in:
parent
5bab6557f4
commit
67c281129b
|
@ -60,7 +60,8 @@ bool ResetWatches();
|
|||
unsigned int GetCurrentValue(AddressWatcher& watch)
|
||||
{
|
||||
unsigned int x = 0;
|
||||
if (watch.Size == 2) //Do little endian
|
||||
//TODO: A similar if for 4-byte just to be through, but there shouldn't be any reason to have 4-byte on the NES!
|
||||
if (watch.Size == 'w') //Do little endian
|
||||
{
|
||||
x = ReadValueAtHardwareAddress(watch.Address+1, 1) * 256;
|
||||
x += ReadValueAtHardwareAddress(watch.Address, 1);
|
||||
|
|
Loading…
Reference in New Issue