From 94a38c265efa36c3edf62c6872ca4160ca8bc2e9 Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Wed, 22 Oct 2003 19:55:42 +0000 Subject: [PATCH] Fixed write functions returns values Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1370 --- include/paging.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/paging.h b/include/paging.h index 73529ca9..5fbbfd41 100644 --- a/include/paging.h +++ b/include/paging.h @@ -146,7 +146,7 @@ INLINE void mem_writeb_inline(PhysPt address,Bit8u val) { Bitu index=(address>>12); if (paging.tlb.write[index]) host_writeb(paging.tlb.write[index]+address,val); - else return paging.tlb.handler[index]->writeb(address,val); + else paging.tlb.handler[index]->writeb(address,val); } INLINE void mem_writew_inline(PhysPt address,Bit16u val) { @@ -155,7 +155,7 @@ INLINE void mem_writew_inline(PhysPt address,Bit16u val) { Bitu index=(address>>12); if (paging.tlb.write[index]) host_writew(paging.tlb.write[index]+address,val); - else return paging.tlb.handler[index]->writew(address,val); + else paging.tlb.handler[index]->writew(address,val); } INLINE void mem_writed_inline(PhysPt address,Bit32u val) { @@ -163,7 +163,7 @@ INLINE void mem_writed_inline(PhysPt address,Bit32u val) { Bitu index=(address>>12); if (paging.tlb.write[index]) host_writed(paging.tlb.write[index]+address,val); - else return paging.tlb.handler[index]->writed(address,val); + else paging.tlb.handler[index]->writed(address,val); }