ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/include/rsrc_patches.h
Revision: 1.4
Committed: 2006-05-03T21:45:14Z (18 years, 1 month ago) by gbeauche
Content type: text/plain
Branch: MAIN
Changes since 1.3: +1 -0 lines
Log Message:
Add patches for native GetNamedResource() and Get1NamedResource(). This will
be useful to fix a bug in the AppleShare extension (see DRVR .AFPTranslator
in Basilisk II)

Unrelated improvement: call sheepshaver_cpu::get_resource() directly, don't
get it through another global function.

File Contents

# Content
1 /*
2 * rsrc_patches.h - Resource patches
3 *
4 * SheepShaver (C) 1997-2005 Christian Bauer and Marc Hellwig
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
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */
20
21 #ifndef RSRC_PATCHES_H
22 #define RSRC_PATCHES_H
23
24 extern void CheckLoad(uint32 type, int16 id, uint16 *p, uint32 size);
25 extern void CheckLoad(uint32 type, const char *name, uint16 *p, uint32 size);
26 extern void PatchNativeResourceManager(void);
27
28 #endif