mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-04 04:48:05 +03:00
Remove tchar.h shim
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user