From 55c8633f9ad1f16b6a6c2c62d5a551e6766b8b8c Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 14 Jul 2014 23:24:12 -0400 Subject: [PATCH] dev9ghzdrk: Remove unreachable code. Same as what is in the default switch cases --- plugins/dev9ghzdrk/Win32/smap.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/plugins/dev9ghzdrk/Win32/smap.cpp b/plugins/dev9ghzdrk/Win32/smap.cpp index 0d9bfe11d4..11f6a2874b 100644 --- a/plugins/dev9ghzdrk/Win32/smap.cpp +++ b/plugins/dev9ghzdrk/Win32/smap.cpp @@ -486,10 +486,6 @@ u16 CALLBACK smap_read16(u32 addr) DEV9_LOG("SMAP : Unknown 16 bit read @ %X,v=%X\n",addr,dev9Ru16(addr)); return dev9Ru16(addr); } - - DEV9_LOG("SMAP : error , 16 bit read @ %X,v=%X\n",addr,dev9Ru16(addr)); - return dev9Ru16(addr); - } u32 CALLBACK smap_read32(u32 addr) { @@ -529,9 +525,6 @@ u32 CALLBACK smap_read32(u32 addr) DEV9_LOG("SMAP : Unknown 32 bit read @ %X,v=%X\n",addr,dev9Ru32(addr)); return dev9Ru32(addr); } - - DEV9_LOG("SMAP : error , 32 bit read @ %X,v=%X\n",addr,dev9Ru32(addr)); - return dev9Ru32(addr); } void CALLBACK smap_write8(u32 addr, u8 value) { @@ -599,9 +592,6 @@ void CALLBACK smap_write8(u32 addr, u8 value) dev9Ru8(addr) = value; return; } - - DEV9_LOG("SMAP : error , 8 bit write @ %X,v=%X\n",addr,value); - dev9Ru8(addr) = value; } void CALLBACK smap_write16(u32 addr, u16 value) { @@ -782,9 +772,6 @@ void CALLBACK smap_write16(u32 addr, u16 value) dev9Ru16(addr) = value; return; } - - DEV9_LOG("SMAP : error , 16 bit write @ %X,v=%X\n",addr,value); - dev9Ru16(addr) = value; } void CALLBACK smap_write32(u32 addr, u32 value) { @@ -809,9 +796,6 @@ void CALLBACK smap_write32(u32 addr, u32 value) dev9Ru32(addr) = value; return; } - - DEV9_LOG("SMAP : error , 32 bit write @ %X,v=%X\n",addr,value); - dev9Ru32(addr) = value; } void CALLBACK smap_readDMA8Mem(u32 *pMem, int size) {