From: Will Sowerbutts Date: Fri, 6 Mar 2015 23:08:16 +0000 (+0000) Subject: devsd msx2: Restore previous drive selection behaviour X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=d524b71aee66c9d8bbabf0e7bbc489f75e081707;p=FUZIX.git devsd msx2: Restore previous drive selection behaviour --- diff --git a/Kernel/platform-msx2/devmegasd.c b/Kernel/platform-msx2/devmegasd.c index 7fd932db..e081fbb9 100644 --- a/Kernel/platform-msx2/devmegasd.c +++ b/Kernel/platform-msx2/devmegasd.c @@ -82,7 +82,7 @@ void sd_spi_clock(bool go_fast) void sd_spi_raise_cs(void) { sd_spi_map_interface(); - writeb(0, MSD_DEVSEL); + writeb(sd_drive, MSD_DEVSEL); /* reading from MSD_CS raises CS for all cards */