aboutsummaryrefslogtreecommitdiff
path: root/src/DSi_I2C.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/DSi_I2C.cpp')
-rw-r--r--src/DSi_I2C.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DSi_I2C.cpp b/src/DSi_I2C.cpp
index ad01a42..4bb7df9 100644
--- a/src/DSi_I2C.cpp
+++ b/src/DSi_I2C.cpp
@@ -98,7 +98,7 @@ void Write(u8 val, bool last)
return;
}
- if (CurPos == -1)
+ if (CurPos == 0xFFFFFFFF)
{
CurPos = val;
//printf("BPTWL: reg=%02X\n", val);