Browse code

Use #pragma once instead of include guards.

Naram Qashat authored on 2014/09/08 14:47:36
Showing 1 changed files
... ...
@@ -15,13 +15,10 @@
15 15
 	along with the this software.  If not, see <http://www.gnu.org/licenses/>.
16 16
 */
17 17
 
18
-#ifndef _INSTRUCIONS_H_
19
-#define _INSTRUCIONS_H_
18
+#pragma once
20 19
 
21 20
 typedef uint32_t (FASTCALL *OpFunc)(uint32_t i);
22 21
 extern const OpFunc arm_instructions_set[2][4096];
23
-extern const char* arm_instruction_names[4096];
22
+extern const char *arm_instruction_names[4096];
24 23
 extern const OpFunc thumb_instructions_set[2][1024];
25
-extern const char* thumb_instruction_names[1024];
26
-
27
-#endif
24
+extern const char *thumb_instruction_names[1024];
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
... ...
@@ -18,7 +18,7 @@
18 18
 #ifndef _INSTRUCIONS_H_
19 19
 #define _INSTRUCIONS_H_
20 20
 
21
-typedef uint32_t (FASTCALL *OpFunc)(const uint32_t i);
21
+typedef uint32_t (FASTCALL *OpFunc)(uint32_t i);
22 22
 extern const OpFunc arm_instructions_set[2][4096];
23 23
 extern const char* arm_instruction_names[4096];
24 24
 extern const OpFunc thumb_instructions_set[2][1024];
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
1 1
new file mode 100644
... ...
@@ -0,0 +1,27 @@
1
+/*	Copyright (C) 2006 yopyop
2
+	Copyright (C) 2012 DeSmuME team
3
+
4
+	This file is free software: you can redistribute it and/or modify
5
+	it under the terms of the GNU General Public License as published by
6
+	the Free Software Foundation, either version 3 of the License, or
7
+	(at your option) any later version.
8
+
9
+	This file is distributed in the hope that it will be useful,
10
+	but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+	GNU General Public License for more details.
13
+
14
+	You should have received a copy of the GNU General Public License
15
+	along with the this software.  If not, see <http://www.gnu.org/licenses/>.
16
+*/
17
+
18
+#ifndef _INSTRUCIONS_H_
19
+#define _INSTRUCIONS_H_
20
+
21
+typedef uint32_t (FASTCALL *OpFunc)(const uint32_t i);
22
+extern const OpFunc arm_instructions_set[2][4096];
23
+extern const char* arm_instruction_names[4096];
24
+extern const OpFunc thumb_instructions_set[2][1024];
25
+extern const char* thumb_instruction_names[1024];
26
+
27
+#endif