Support building with Microsoft Visual Studio

This commit is contained in:
kichikuou
2021-01-02 09:10:51 +09:00
parent a12fbcf906
commit 56bb588ca7
19 changed files with 83 additions and 17 deletions
+3 -2
View File
@@ -5,13 +5,14 @@
*/
#include "dri.h"
#include <string.h>
#include "crc32.h"
#include "../fileio.h"
uint8* DRI::load(const char* file_name, int page, int* size)
{
char tmp_name[_MAX_PATH];
strcpy_s(tmp_name, _MAX_PATH, file_name);
char tmp_name[20];
strcpy_s(tmp_name, sizeof(tmp_name), file_name);
FILEIO* fio = new FILEIO();