Added min macro to patch.c because it was removed from libn3ds.

This commit is contained in:
profi200 2024-03-22 01:52:23 +01:00
parent 3bdfbb5c69
commit e9ff3ccaf7
No known key found for this signature in database
GPG Key ID: FD2BAB7782919B0A
1 changed files with 3 additions and 0 deletions

View File

@ -30,6 +30,9 @@
#include "drivers/sha.h"
#define min(a, b) ((size_t) (a) <= (size_t) (b) ? (size_t) (a) : (size_t) (b))
typedef struct
{
u8 *buffer;