mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-01 08:25:18 +01:00
formatting
This commit is contained in:
parent
b752684807
commit
7fb77963b6
@ -463,13 +463,15 @@ UpdatePadsCB ()
|
||||
static inline void
|
||||
MakeTexture (const void *src, void *dst, s32 width, s32 height)
|
||||
{
|
||||
register u32 tmp0 = 0, tmp1 = 0, tmp2 = 0, tmp3 = 0;
|
||||
register u32 tmp0=0,tmp1=0,tmp2=0,tmp3=0;
|
||||
|
||||
__asm__ __volatile__ (" srwi %6,%6,2\n"
|
||||
__asm__ __volatile__ (
|
||||
" srwi %6,%6,2\n"
|
||||
" srwi %7,%7,2\n"
|
||||
" subi %3,%4,4\n"
|
||||
" mr %4,%3\n"
|
||||
" subi %4,%4,4\n"
|
||||
|
||||
"2: mtctr %6\n"
|
||||
" mr %0,%5\n"
|
||||
//
|
||||
@ -494,10 +496,9 @@ MakeTexture (const void *src, void *dst, s32 width, s32 height)
|
||||
" addi %5,%0,4128\n" //5
|
||||
" subic. %7,%7,1\n"
|
||||
" bne 2b"
|
||||
// regs 0-7
|
||||
:"=&r" (tmp0), "=&r" (tmp1), "=&r" (tmp2),
|
||||
"=&r" (tmp3), "+r" (dst):"r" (src), "r" (width),
|
||||
"r" (height));
|
||||
// 0 1 2 3 4 5 6 7
|
||||
: "=&r"(tmp0), "=&r"(tmp1), "=&r"(tmp2), "=&r"(tmp3), "+r"(dst) : "r"(src), "r"(width), "r"(height)
|
||||
);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user