Browse code

Removed a bunch of casts, they seem to be fine without them in most cases.

Naram Qashat authored on 2013/04/18 23:22:54
Showing 1 changed files
... ...
@@ -1,6 +1,6 @@
1 1
 #ifndef __GNUC__
2
-#pragma pack(push, 1)
3
-#pragma warning(disable : 4103)
2
+# pragma pack(push, 1)
3
+# pragma warning(disable : 4103)
4 4
 #endif
5 5
 
6 6
 #ifndef __PACKED
Browse code

Updating in_2sf to use a newish version of DeSmuME, 0.9.9 from SVN. Somewhat cleaned up as well, but not everything because it's a pain in the ass.

Naram Qashat authored on 2013/04/18 17:22:55
Showing 1 changed files
... ...
@@ -4,9 +4,9 @@
4 4
 #endif
5 5
 
6 6
 #ifndef __PACKED
7
-	#ifdef __GNUC__
8
-	#define __PACKED __attribute__((__packed__))
9
-	#else
10
-	#define __PACKED
11
-	#endif
7
+# ifdef __GNUC__
8
+#  define __PACKED __attribute__((__packed__))
9
+# else
10
+#  define __PACKED
11
+# endif
12 12
 #endif
Browse code

Import actual code.

Naram Qashat authored on 2013/03/26 02:41:19
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,12 @@
1
+#ifndef __GNUC__
2
+#pragma pack(push, 1)
3
+#pragma warning(disable : 4103)
4
+#endif
5
+
6
+#ifndef __PACKED
7
+	#ifdef __GNUC__
8
+	#define __PACKED __attribute__((__packed__))
9
+	#else
10
+	#define __PACKED
11
+	#endif
12
+#endif