aboutsummaryrefslogtreecommitdiff
path: root/src/CRC32.cpp
diff options
context:
space:
mode:
authorJesse Talavera-Greenberg <jesse@jesse.tg>2023-11-25 12:32:09 -0500
committerGitHub <noreply@github.com>2023-11-25 18:32:09 +0100
commit346dd4006ea1283136095d5c43f602324a095092 (patch)
treeedf04631782bbfcdb48eac79b79aebb11b40f479 /src/CRC32.cpp
parent651b0f680c4531558990a5beb0e638968009dc51 (diff)
Move all core types into namespaces (#1886)
* Reorganize namespaces - Most types are now moved into the `melonDS` namespace - Only good chance to do this for a while, since a big refactor is next * Fix the build
Diffstat (limited to 'src/CRC32.cpp')
-rw-r--r--src/CRC32.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CRC32.cpp b/src/CRC32.cpp
index 8afa3ba..0756c03 100644
--- a/src/CRC32.cpp
+++ b/src/CRC32.cpp
@@ -20,6 +20,8 @@
// http://www.codeproject.com/KB/recipes/crc32_large.aspx
+namespace melonDS
+{
constexpr u32 _reflect(u32 refl, char ch)
{
u32 value = 0;
@@ -62,3 +64,5 @@ u32 CRC32(const u8 *data, int len, u32 start)
return (crc ^ 0xFFFFFFFF);
}
+
+} \ No newline at end of file