ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/rsrc_patches.cpp
(Generate patch)

Comparing BasiliskII/src/rsrc_patches.cpp (file contents):
Revision 1.1 by cebix, 1999-10-03T14:16:25Z vs.
Revision 1.4 by cebix, 2000-07-22T16:00:33Z

# Line 1 | Line 1
1   /*
2   *  rsrc_patches.cpp - Resource patches
3   *
4 < *  Basilisk II (C) 1997-1999 Christian Bauer
4 > *  Basilisk II (C) 1997-2000 Christian Bauer
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 28 | Line 28
28   #include "audio_defs.h"
29   #include "rsrc_patches.h"
30  
31 + #if ENABLE_MON
32 + #include "mon.h"
33 + #endif
34 +
35   #define DEBUG 0
36   #include "debug.h"
37  
# Line 85 | Line 89 | void CheckLoad(uint32 type, int16 id, ui
89                  if (base) {
90                          p16 = (uint16 *)(p + base);
91  
92 < #if defined(AMIGA)
92 > #if defined(AMIGA) || defined(__NetBSD__)
93                          // Set 0x0000 to scratch memory area
94                          extern uint32 ScratchMem;
95                          *p16++ = htons(0x207c);                 // move.l       #ScratchMem,a0
# Line 109 | Line 113 | void CheckLoad(uint32 type, int16 id, ui
113                  if (base) {
114                          p16 = (uint16 *)(p + base);
115  
116 < #if defined(AMIGA)
116 > #if defined(AMIGA) || defined(__NetBSD__)
117                          // Set 0x0000 to scratch memory area
118                          extern uint32 ScratchMem;
119                          *p16++ = htons(0x207c);                 // move.l       #ScratchMem,a0

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines