Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MobiusMei
ygopro
Commits
e363219c
Commit
e363219c
authored
Jul 11, 2016
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unicode script filename in windows
parent
d66ac49f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
7 deletions
+3
-7
gframe/replay.cpp
gframe/replay.cpp
+1
-1
gframe/single_mode.cpp
gframe/single_mode.cpp
+0
-4
ocgcore
ocgcore
+1
-1
script
script
+1
-1
No files found.
gframe/replay.cpp
View file @
e363219c
...
...
@@ -123,7 +123,7 @@ void Replay::EndRecord() {
is_recording
=
false
;
}
void
Replay
::
SaveReplay
(
const
wchar_t
*
name
)
{
wchar_t
fname
[
64
];
wchar_t
fname
[
256
];
myswprintf
(
fname
,
L"./replay/%ls.yrp"
,
name
);
#ifdef WIN32
fp
=
_wfopen
(
fname
,
L"wb"
);
...
...
gframe/single_mode.cpp
View file @
e363219c
...
...
@@ -31,11 +31,7 @@ int SingleMode::SinglePlayThread(void* param) {
wchar_t
fname
[
256
];
myswprintf
(
fname
,
L"./single/%ls"
,
name
);
char
fname2
[
256
];
#ifdef _WIN32
size_t
slen
=
WideCharToMultiByte
(
CP_ACP
,
0
,
fname
,
-
1
,
fname2
,
256
,
NULL
,
NULL
);
#else
size_t
slen
=
BufferIO
::
EncodeUTF8
(
fname
,
fname2
);
#endif
mtrandom
rnd
;
time_t
seed
=
time
(
0
);
rnd
.
reset
(
seed
);
...
...
ocgcore
@
dd955dba
Subproject commit
62ab0c81d4bd57521148e911776675f084faa785
Subproject commit
dd955dbac2836581307777463d8fcc6f054b4384
script
@
7d28acac
Subproject commit
16ce4895cf02438eb598d351fff6ec3f1e94b0ea
Subproject commit
7d28acac8e17f3d63c115cccbe5b5dabb80e4e1f
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment