mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-09-27 01:10:33 +03:00
Support building with Microsoft Visual Studio
This commit is contained in:
+3
-2
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user