pcsx2/fps2bios/kernel/start.c
Jake.Stine 6ebfae8ef1 Re-Added eol-style:native properties to the repository. The settings got lost when we merged from Playground to Official.
Added interface.cpp (plugin/pcsx2 interface) and savestate.cpp to SPU2ghz, to help clean up SPU2.cpp.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@463 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-09 21:15:56 +00:00

31 lines
525 B
C

#include <tamtypes.h>
void eestart() __attribute__ ((noreturn));
void iopstart() __attribute__ ((noreturn));
__asm__ (
".org 0\n"
".set noat\n"
".global _start\n"
"_start:\n"
"mfc0 $at, $15\n"
"sltiu $at, 0x59\n"
"bne $at, $0, __iopstart\n"
"j eestart\n"
"nop\n"
"__iopstart:\n"
"j iopstart\n"
"nop\n");
/*
void _start() __attribute__ ((noreturn));
void _start() {
register unsigned long PRid;
__asm__ ("mfc0 %0, $15" : "=r"(PRid) : );
if (PRid >= 0x59) eestart();
else iopstart();
}*/