mirror of https://github.com/PCSX2/pcsx2.git
svnrev.h fixes for when TortoiseSVN isn't available (fixes compilation errors in SPU2-X and cdvdGigaherz).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2149 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
ae64b98e6a
commit
d114d698a2
|
@ -33,6 +33,13 @@ extern void EmitSibMagic( const xRegisterBase& reg1, const ModSibBase& sib );
|
||||||
extern void _xMovRtoR( const xRegisterInt& to, const xRegisterInt& from );
|
extern void _xMovRtoR( const xRegisterInt& to, const xRegisterInt& from );
|
||||||
extern void _g1_EmitOp( G1Type InstType, const xRegisterInt& to, const xRegisterInt& from );
|
extern void _g1_EmitOp( G1Type InstType, const xRegisterInt& to, const xRegisterInt& from );
|
||||||
|
|
||||||
|
template< typename T > inline
|
||||||
|
void xWrite( T val )
|
||||||
|
{
|
||||||
|
*(T*)x86Ptr = val;
|
||||||
|
x86Ptr += sizeof(T);
|
||||||
|
}
|
||||||
|
|
||||||
template< typename T1, typename T2 > __emitinline
|
template< typename T1, typename T2 > __emitinline
|
||||||
void xOpWrite( u8 prefix, u8 opcode, const T1& param1, const T2& param2 )
|
void xOpWrite( u8 prefix, u8 opcode, const T1& param1, const T2& param2 )
|
||||||
{
|
{
|
||||||
|
|
|
@ -70,12 +70,6 @@ __threadlocal XMMSSEType g_xmmtypes[iREGCNT_XMM] = { XMMT_INT };
|
||||||
|
|
||||||
namespace x86Emitter {
|
namespace x86Emitter {
|
||||||
|
|
||||||
template< typename T > void xWrite( T val )
|
|
||||||
{
|
|
||||||
*(T*)x86Ptr = val;
|
|
||||||
x86Ptr += sizeof(T);
|
|
||||||
}
|
|
||||||
|
|
||||||
template void xWrite<u8>( u8 val );
|
template void xWrite<u8>( u8 val );
|
||||||
template void xWrite<u16>( u16 val );
|
template void xWrite<u16>( u16 val );
|
||||||
template void xWrite<u32>( u32 val );
|
template void xWrite<u32>( u32 val );
|
||||||
|
|
|
@ -20,4 +20,5 @@
|
||||||
// doesn't check for the SVN_REV_UNKNOWN define.
|
// doesn't check for the SVN_REV_UNKNOWN define.
|
||||||
|
|
||||||
#define SVN_REV 0
|
#define SVN_REV 0
|
||||||
#define SVN_MODS ""
|
#define SVN_MODS 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue