Added min macro to patch.c because it was removed from libn3ds.
This commit is contained in:
parent
d7f701f02a
commit
6db20e190c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue