Misc fixes by riccardom

This commit is contained in:
yabause 2008-10-24 08:13:44 +00:00
parent e92f677719
commit 799317fa65
2 changed files with 2 additions and 2 deletions

View File

@ -442,7 +442,7 @@ void* memcpy_fast(void* dest, const void* src, size_t count)
#endif #endif
#ifdef DEBUG_DUMP_TEXTURE && WIN32 #if defined (DEBUG_DUMP_TEXTURE) && defined (WIN32)
static void DebugDumpTexture(int which) static void DebugDumpTexture(int which)
{ {
char fname[100]; char fname[100];

View File

@ -82,7 +82,7 @@ armcp15_t *armcp15_new(armcpu_t * c)
#define MASKFROMREG(val) (~((SIZEBINARY(val)-1) | 0x3F)) #define MASKFROMREG(val) (~((SIZEBINARY(val)-1) | 0x3F))
#define SETFROMREG(val) ((val) & MASKFROMREG(val)) #define SETFROMREG(val) ((val) & MASKFROMREG(val))
/* sets the precalculated regions to mask,set for the affected accesstypes */ /* sets the precalculated regions to mask,set for the affected accesstypes */
void armcp15_setSingleRegionAccess(armcp15_t *armcp15,unsigned long dAccess,unsigned long iAccess,unsigned char num, unsigned long mask,unsigned long set) { static void armcp15_setSingleRegionAccess(armcp15_t *armcp15,unsigned long dAccess,unsigned long iAccess,unsigned char num, unsigned long mask,unsigned long set) {
switch (ACCESSTYPE(dAccess,num)) { switch (ACCESSTYPE(dAccess,num)) {
case 4: /* UNP */ case 4: /* UNP */