diff options
Diffstat (limited to 'resources/utilities/ich9deblob/src/gbe/gbe.c')
-rw-r--r-- | resources/utilities/ich9deblob/src/gbe/gbe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/utilities/ich9deblob/src/gbe/gbe.c b/resources/utilities/ich9deblob/src/gbe/gbe.c index beb5e14..baefec8 100644 --- a/resources/utilities/ich9deblob/src/gbe/gbe.c +++ b/resources/utilities/ich9deblob/src/gbe/gbe.c @@ -33,9 +33,9 @@ */ /* Read a 16-bit unsigned int from a supplied region buffer */ -uint16_t gbeGetRegionWordFrom8kBuffer(int index, uint8_t* regionData) +uint16_t gbeGetRegionWordFrom8kBuffer(int wordOffset, uint8_t* regionData) { - return *((uint16_t*)(regionData + (index << 1))); + return *((uint16_t*)(regionData + (wordOffset << 1))); } /* |