mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Win 98 VFS Fixes (by BirdFlu)
- add ini option to disable UNICODE in VFS (and use the current codepage) - when UNICODE disabled in VFS, open files with default encoding (instead of UTF8/16) filenames git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@3118 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+5
-1
@@ -35,7 +35,11 @@ namespace os
|
||||
private:
|
||||
#ifdef WIN32
|
||||
HANDLE fSearchHandle;
|
||||
WIN32_FIND_DATAW fFileInfo;
|
||||
union
|
||||
{
|
||||
WIN32_FIND_DATAA fFileInfoA;
|
||||
WIN32_FIND_DATAW fFileInfoW;
|
||||
};
|
||||
#else
|
||||
struct direct **files;
|
||||
int count, current_pos;
|
||||
|
||||
Reference in New Issue
Block a user