| ... | ... |
@@ -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]; |
| ... | ... |
@@ -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]; |
| 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 |