summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-06-28 11:48:42 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-06-28 11:48:42 +0200
commitab61e67c09cab06a0213d7ad1b19e6c55c4c3fff (patch)
tree6d118e98e847e554d80c0989ba907fba314a3ae5 /src/common
parentMerge pull request #886 from zawata/Warning-Fixes (diff)
downloadyuzu-ab61e67c09cab06a0213d7ad1b19e6c55c4c3fff.tar
yuzu-ab61e67c09cab06a0213d7ad1b19e6c55c4c3fff.tar.gz
yuzu-ab61e67c09cab06a0213d7ad1b19e6c55c4c3fff.tar.bz2
yuzu-ab61e67c09cab06a0213d7ad1b19e6c55c4c3fff.tar.lz
yuzu-ab61e67c09cab06a0213d7ad1b19e6c55c4c3fff.tar.xz
yuzu-ab61e67c09cab06a0213d7ad1b19e6c55c4c3fff.tar.zst
yuzu-ab61e67c09cab06a0213d7ad1b19e6c55c4c3fff.zip
Diffstat (limited to 'src/common')
-rw-r--r--src/common/common_types.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/common/common_types.h b/src/common/common_types.h
index f6de0adfc..c4f1d7ba4 100644
--- a/src/common/common_types.h
+++ b/src/common/common_types.h
@@ -52,32 +52,6 @@ typedef double f64; ///< 64-bit floating point
typedef u32 VAddr; ///< Represents a pointer in the userspace virtual address space.
typedef u32 PAddr; ///< Represents a pointer in the ARM11 physical address space.
-/// Union for fast 16-bit type casting
-union t16 {
- u8 _u8[2]; ///< 8-bit unsigned char(s)
- u16 _u16; ///< 16-bit unsigned shorts(s)
-};
-
-/// Union for fast 32-bit type casting
-union t32 {
- f32 _f32; ///< 32-bit floating point(s)
- u32 _u32; ///< 32-bit unsigned int(s)
- s32 _s32; ///< 32-bit signed int(s)
- u16 _u16[2]; ///< 16-bit unsigned shorts(s)
- u8 _u8[4]; ///< 8-bit unsigned char(s)
-};
-
-/// Union for fast 64-bit type casting
-union t64 {
- f64 _f64; ///< 64-bit floating point
- u64 _u64; ///< 64-bit unsigned long
- f32 _f32[2]; ///< 32-bit floating point(s)
- u32 _u32[2]; ///< 32-bit unsigned int(s)
- s32 _s32[2]; ///< 32-bit signed int(s)
- u16 _u16[4]; ///< 16-bit unsigned shorts(s)
- u8 _u8[8]; ///< 8-bit unsigned char(s)
-};
-
// An inheritable class to disallow the copy constructor and operator= functions
class NonCopyable {
protected: