aboutsummaryrefslogtreecommitdiff
path: root/src/CRC32.h
diff options
context:
space:
mode:
authorjdp_ <42700985+jdpatdiscord@users.noreply.github.com>2023-08-28 14:01:15 -0400
committerGitHub <noreply@github.com>2023-08-28 20:01:15 +0200
commit2a3a07121640cfa7fb286f0e7eb7e149c0dfabef (patch)
treeb693b9d540e11dc268c7c97419f6f6230bdf5c11 /src/CRC32.h
parentb4aa7fafc9eef5377701896353aac145a23182a6 (diff)
Reduce code stink (#1818)
CRC32.cpp: Make table initialization compile time DSi_NAND.cpp: Fix file close / unmount / disk close on error ~L427: Remove redundant calls, as they are immediately rendered useless by `rem` being overwritten NDS.cpp / FreeBIOS.h: Remove unneeded size values in header Remove unneeded memset's as they are initialized anyway sha1.c / sha1.h: Fix useless warning Wifi.cpp: Remove unneeded includes DSi.cpp: Reduce ugly casts Deduplicate code qt_sdl/main.cpp: silence clang switch statement warning qt_sdl/main.h: fix override warnings dolphin/BitSet.h: use msvc extensions only when appropriate, fix broken bit set count under _WIN32
Diffstat (limited to 'src/CRC32.h')
-rw-r--r--src/CRC32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CRC32.h b/src/CRC32.h
index 5bb5637..133cf51 100644
--- a/src/CRC32.h
+++ b/src/CRC32.h
@@ -19,6 +19,8 @@
#ifndef CRC32_H
#define CRC32_H
+#include <array>
+
#include "types.h"
u32 CRC32(const u8* data, int len, u32 start=0);