diff options
| author | 2014-10-25 17:52:39 -0200 | |
|---|---|---|
| committer | 2014-11-24 16:47:01 -0200 | |
| commit | 924bbde89b80ff2aa8b98fe8f3c7f728ede34edc (patch) | |
| tree | 2e0f73a3f084fd74d4fd6220e11d191d48407bb5 /src | |
| parent | Merge pull request #191 from archshift/deletexyz (diff) | |
| download | yuzu-924bbde89b80ff2aa8b98fe8f3c7f728ede34edc.tar.gz yuzu-924bbde89b80ff2aa8b98fe8f3c7f728ede34edc.tar.xz yuzu-924bbde89b80ff2aa8b98fe8f3c7f728ede34edc.zip | |
Change some SkyEye defines to const ints
This prevents them from interfering with other constants defined in
different namespaces.
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/arm/skyeye_common/armdefs.h | 32 | ||||
| -rw-r--r-- | src/core/arm/skyeye_common/armemu.h | 18 |
2 files changed, 16 insertions, 34 deletions
diff --git a/src/core/arm/skyeye_common/armdefs.h b/src/core/arm/skyeye_common/armdefs.h index 8e71948c6..6e8187c8e 100644 --- a/src/core/arm/skyeye_common/armdefs.h +++ b/src/core/arm/skyeye_common/armdefs.h | |||
| @@ -799,22 +799,22 @@ pascal void SpinCursor (short increment); /* copied from CursorCtl.h */ | |||
| 799 | #include "list.h" | 799 | #include "list.h" |
| 800 | #include "tb.h" | 800 | #include "tb.h" |
| 801 | */ | 801 | */ |
| 802 | #define EQ 0 | 802 | const int EQ = 0; |
| 803 | #define NE 1 | 803 | const int NE = 1; |
| 804 | #define CS 2 | 804 | const int CS = 2; |
| 805 | #define CC 3 | 805 | const int CC = 3; |
| 806 | #define MI 4 | 806 | const int MI = 4; |
| 807 | #define PL 5 | 807 | const int PL = 5; |
| 808 | #define VS 6 | 808 | const int VS = 6; |
| 809 | #define VC 7 | 809 | const int VC = 7; |
| 810 | #define HI 8 | 810 | const int HI = 8; |
| 811 | #define LS 9 | 811 | const int LS = 9; |
| 812 | #define GE 10 | 812 | const int GE = 10; |
| 813 | #define LT 11 | 813 | const int LT = 11; |
| 814 | #define GT 12 | 814 | const int GT = 12; |
| 815 | #define LE 13 | 815 | const int LE = 13; |
| 816 | #define AL 14 | 816 | const int AL = 14; |
| 817 | #define NV 15 | 817 | const int NV = 15; |
| 818 | 818 | ||
| 819 | #ifndef NFLAG | 819 | #ifndef NFLAG |
| 820 | #define NFLAG state->NFlag | 820 | #define NFLAG state->NFlag |
diff --git a/src/core/arm/skyeye_common/armemu.h b/src/core/arm/skyeye_common/armemu.h index c0f0270fe..075fc7e9e 100644 --- a/src/core/arm/skyeye_common/armemu.h +++ b/src/core/arm/skyeye_common/armemu.h | |||
| @@ -25,24 +25,6 @@ | |||
| 25 | 25 | ||
| 26 | #define DEBUG(...) DEBUG_LOG(ARM11, __VA_ARGS__) | 26 | #define DEBUG(...) DEBUG_LOG(ARM11, __VA_ARGS__) |
| 27 | 27 | ||
| 28 | /* Condition code values. */ | ||
| 29 | #define EQ 0 | ||
| 30 | #define NE 1 | ||
| 31 | #define CS 2 | ||
| 32 | #define CC 3 | ||
| 33 | #define MI 4 | ||
| 34 | #define PL 5 | ||
| 35 | #define VS 6 | ||
| 36 | #define VC 7 | ||
| 37 | #define HI 8 | ||
| 38 | #define LS 9 | ||
| 39 | #define GE 10 | ||
| 40 | #define LT 11 | ||
| 41 | #define GT 12 | ||
| 42 | #define LE 13 | ||
| 43 | #define AL 14 | ||
| 44 | #define NV 15 | ||
| 45 | |||
| 46 | /* Shift Opcodes. */ | 28 | /* Shift Opcodes. */ |
| 47 | #define LSL 0 | 29 | #define LSL 0 |
| 48 | #define LSR 1 | 30 | #define LSR 1 |