GBA e-Reader: Increase scanning stability more

This commit is contained in:
Vicki Pfau 2020-02-23 18:01:53 -08:00
parent b3f5e6b9ee
commit 210c7a91cd
2 changed files with 3 additions and 3 deletions

View File

@ -16,8 +16,8 @@ CXX_GUARD_START
mLOG_DECLARE_CATEGORY(GBA_HW);
#define EREADER_DOTCODE_STRIDE 1200
#define EREADER_DOTCODE_SIZE (EREADER_DOTCODE_STRIDE * 40 + 200)
#define EREADER_DOTCODE_STRIDE 1420
#define EREADER_DOTCODE_SIZE (EREADER_DOTCODE_STRIDE * 40)
#define EREADER_CARDS_MAX 16
#define IS_GPIO_REGISTER(reg) ((reg) == GPIO_REG_DATA || (reg) == GPIO_REG_DIRECTION || (reg) == GPIO_REG_CONTROL)

View File

@ -572,7 +572,7 @@ void _eReaderWriteControl1(struct GBACartridgeHardware* hw, uint8_t value) {
if (hw->eReaderY == (hw->eReaderSerial[0x15] | (hw->eReaderSerial[0x14] << 8))) {
hw->eReaderY = 0;
if (hw->eReaderX < 3400) {
hw->eReaderX += 220;
hw->eReaderX += 210;
}
}
_eReaderReadData(hw);