From 0f55dfc08a944f40073e9c0dee68339dbdd12d9b Mon Sep 17 00:00:00 2001 From: Anthony Pesch Date: Fri, 17 Nov 2017 00:17:00 -0500 Subject: [PATCH] added note about SB_FFST --- src/guest/holly/holly.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/guest/holly/holly.c b/src/guest/holly/holly.c index efca72fb..321caf0e 100644 --- a/src/guest/holly/holly.c +++ b/src/guest/holly/holly.c @@ -402,6 +402,17 @@ struct holly *holly_create(struct dreamcast *dc) { return hl; } +REG_R32(holly_cb, SB_FFST) { + /* most code i've seen that reads this register seems to block until the bit + it's interested in is 0, signalling that the fifo is empty and able to be + written to. being that the fifos aren't emulated, always returning zero + seems sane */ + return 0; +} + +REG_W32(holly_cb, SB_FFST) { +} + REG_W32(holly_cb, SB_SFRES) { /* only reset if the magic value is written */ if (value != 0x7611) {