aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/dosbox
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/dosbox')
-rw-r--r--emulators/dosbox/files/patch-include-dos_inc.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/emulators/dosbox/files/patch-include-dos_inc.h b/emulators/dosbox/files/patch-include-dos_inc.h
new file mode 100644
index 000000000000..08ea8b3f171d
--- /dev/null
+++ b/emulators/dosbox/files/patch-include-dos_inc.h
@@ -0,0 +1,33 @@
+diff -u -r1.43 -r1.44
+--- include/dos_inc.h 2004/05/05 21:56:04 1.43
++++ include/dos_inc.h 2004/05/15 07:57:02 1.44
+@@ -214,22 +214,22 @@
+
+ class MemStruct {
+ public:
+- INLINE Bit8u GetIt(Bit8u&,PhysPt addr) {
++ INLINE Bit8u GetIt(Bit8u,PhysPt addr) {
+ return mem_readb(pt+addr);
+ }
+- INLINE Bit16u GetIt(Bit16u&,PhysPt addr) {
++ INLINE Bit16u GetIt(Bit16u,PhysPt addr) {
+ return mem_readw(pt+addr);
+ }
+- INLINE Bit32u GetIt(Bit32u&,PhysPt addr) {
++ INLINE Bit32u GetIt(Bit32u,PhysPt addr) {
+ return mem_readd(pt+addr);
+ }
+- INLINE void SaveIt(Bit8u&,PhysPt addr,Bit8u val) {
++ INLINE void SaveIt(Bit8u,PhysPt addr,Bit8u val) {
+ mem_writeb(pt+addr,val);
+ }
+- INLINE void SaveIt(Bit16u&,PhysPt addr,Bit16u val) {
++ INLINE void SaveIt(Bit16u,PhysPt addr,Bit16u val) {
+ mem_writew(pt+addr,val);
+ }
+- INLINE void SaveIt(Bit32u&,PhysPt addr,Bit32u val) {
++ INLINE void SaveIt(Bit32u,PhysPt addr,Bit32u val) {
+ mem_writed(pt+addr,val);
+ }
+ INLINE void SetPt(Bit16u seg) { pt=PhysMake(seg,0);}
+