fix compilation with gcc 3.4
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2142
This commit is contained in:
parent
ebd0dc79d9
commit
b2b5bfeb7e
2 changed files with 26 additions and 26 deletions
|
@ -104,16 +104,16 @@ INLINE void host_writed(HostPt off,Bit32u val) {
|
|||
#endif
|
||||
|
||||
|
||||
INLINE void var_write(Bit8u & var, Bit8u val) {
|
||||
host_writeb((HostPt)&var, val);
|
||||
INLINE void var_write(Bit8u * var, Bit8u val) {
|
||||
host_writeb((HostPt)var, val);
|
||||
}
|
||||
|
||||
INLINE void var_write(Bit16u & var, Bit16u val) {
|
||||
host_writew((HostPt)&var, val);
|
||||
INLINE void var_write(Bit16u * var, Bit16u val) {
|
||||
host_writew((HostPt)var, val);
|
||||
}
|
||||
|
||||
INLINE void var_write(Bit32u & var, Bit32u val) {
|
||||
host_writed((HostPt)&var, val);
|
||||
INLINE void var_write(Bit32u * var, Bit32u val) {
|
||||
host_writed((HostPt)var, val);
|
||||
}
|
||||
|
||||
/* The Folowing six functions are slower but they recognize the paged memory system */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue