blob: 8d6891dfac0548b64f3e89dc11c0633ccfe2791e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- fceu2.1.5.orig/src/utils/endian.h 2010-11-07 18:33:11.000000000 -0500
+++ fceu2.1.5/src/utils/endian.h 2012-12-19 10:36:45.076124554 -0500
@@ -93,19 +93,5 @@
}
}
-template<typename T>
-int writele(T *Bufo, EMUFILE*os)
-{
- CTASSERT(sizeof(T)==1||sizeof(T)==2||sizeof(T)==4||sizeof(T)==8);
- switch(sizeof(T)) {
- case 1: return write8le((uint8*)Bufo,os);
- case 2: return write16le((uint16*)Bufo,os);
- case 4: return write32le((uint32*)Bufo,os);
- case 8: return write64le((uint64*)Bufo,os);
- default:
- return 0;
- }
-}
-
#endif //__FCEU_ENDIAN
|