From 763de9d2e0c8846a4dc82f67971392f88e028a75 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Sun, 11 Apr 2021 22:52:34 +0300 Subject: [PATCH] Fix Rumble support in TPP1 --- Core/memory.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Core/memory.c b/Core/memory.c index 20aaac9..0082131 100644 --- a/Core/memory.c +++ b/Core/memory.c @@ -640,6 +640,13 @@ static void write_mbc(GB_gameboy_t *gb, uint16_t addr, uint8_t value) case 0x19: gb->rtc_real.high &= ~0x40; break; + + case 0x20: + case 0x21: + case 0x22: + case 0x23: + gb->rumble_strength = value & 3; + break; } } break;