UINT8 SDD1_IM::IM_getCodeword(UINT8 *ROM, UINT32 *mmc, const UINT8 code_len) { UINT8 codeword = ROM[SSD1_ADD(m_byte_ptr)] << m_bit_count; ++m_bit_count; if (codeword & 0x80) { codeword |= ROM[SSD1_ADD((m_byte_ptr + 1))] >> (9 - m_bit_count); m_bit_count += code_len; }
uint8_t SDD1_IM::IM_getCodeword(uint8_t *ROM, uint32_t *mmc, const uint8_t code_len) { uint8_t codeword = ROM[SSD1_ADD(m_byte_ptr)] << m_bit_count; ++m_bit_count; if (codeword & 0x80) { codeword |= ROM[SSD1_ADD((m_byte_ptr + 1))] >> (9 - m_bit_count); m_bit_count += code_len; }