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 committed by profi200
parent d7f701f02a
commit 6db20e190c
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;