Fix build on linux (grr), minor ABI fix.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@142 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2008-08-06 20:23:53 +00:00
parent 9dc48651a7
commit 84b3522c24
2 changed files with 5 additions and 5 deletions

View File

@ -138,11 +138,11 @@ void ABI_PushAllCalleeSavedRegsAndAdjustStack() {
PUSH(R13);
PUSH(R14);
PUSH(R15);
PUSH(RAX); //just to align stack. we don't care about it's value.
PUSH(R15); //just to align stack. duped push/pop doesn't hurt.
}
void ABI_PopAllCalleeSavedRegsAndAdjustStack() {
POP(RAX);
POP(R15);
POP(R15);
POP(R14);
POP(R13);

View File

@ -462,7 +462,6 @@ extern unsigned char data_raw[];
PC_TexFormat TexDecoder_Decode(u8 *dst, u8 *src, int width, int height, int texformat, int tlutaddr, int tlutfmt)
{
PC_TexFormat retval = TexDecoder_Decode_real(dst,src,width,height,texformat,tlutaddr,tlutfmt);
if((!TexFmt_Overlay_Enable)/*||(retval==PC_TEX_FMT_NONE)*/)
@ -504,7 +503,7 @@ PC_TexFormat TexDecoder_Decode(u8 *dst, u8 *src, int width, int height, int texf
return retval;
}
static unsigned char data_raw[] = {
unsigned char data_raw[] = {
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
@ -2606,4 +2605,5 @@ static unsigned char data_raw[] = {
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
};
#endif
#endif