Remove tchar.h shim

This commit is contained in:
kichikuou
2020-02-16 15:57:05 +09:00
parent 1f5449687f
commit 387c5febf2
20 changed files with 129 additions and 138 deletions
+3 -3
View File
@@ -8,7 +8,7 @@
#include "dri.h"
#include "crc32.h"
extern _TCHAR g_root[_MAX_PATH];
extern char g_root[_MAX_PATH];
void AGS::load_cg(int page, int transparent)
{
@@ -16,12 +16,12 @@ void AGS::load_cg(int page, int transparent)
// あゆみちゃん物語 フルカラー実写版
if(strncmp(acg, "CGA000.BMP", 10) == 0) {
char file_path[_MAX_PATH];
_stprintf_s(file_path, _MAX_PATH, _T("%sCGA%03d.BMP"), g_root, page);
sprintf_s(file_path, _MAX_PATH, "%sCGA%03d.BMP", g_root, page);
load_bmp(file_path);
return;
} else if(strncmp(acg, "CGB000.BMP", 10) == 0) {
char file_path[_MAX_PATH];
_stprintf_s(file_path, _MAX_PATH, _T("%sCGB%03d.BMP"), g_root, page);
sprintf_s(file_path, _MAX_PATH, "%sCGB%03d.BMP", g_root, page);
load_bmp(file_path);
return;
}