Misc fixes by riccardom
This commit is contained in:
parent
e92f677719
commit
799317fa65
|
@ -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];
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue