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
YGOPRO-520DIY
ygopro
Commits
965e0564
Commit
965e0564
authored
Dec 15, 2024
by
Chen Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use int32_t in WriteInt32
parent
392def1e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
gframe/replay.cpp
gframe/replay.cpp
+2
-2
gframe/replay.h
gframe/replay.h
+1
-1
No files found.
gframe/replay.cpp
View file @
965e0564
...
...
@@ -60,8 +60,8 @@ void Replay::WriteData(const void* data, size_t length, bool flush) {
fflush
(
fp
);
#endif
}
void
Replay
::
WriteInt32
(
int
data
,
bool
flush
)
{
Write
Data
(
&
data
,
sizeof
data
,
flush
);
void
Replay
::
WriteInt32
(
int
32_t
data
,
bool
flush
)
{
Write
<
int32_t
>
(
data
,
flush
);
}
void
Replay
::
Flush
()
{
if
(
!
is_recording
)
...
...
gframe/replay.h
View file @
965e0564
...
...
@@ -39,7 +39,7 @@ public:
void
Write
(
T
data
,
bool
flush
=
true
)
{
WriteData
(
&
data
,
sizeof
(
T
),
flush
);
}
void
WriteInt32
(
int
data
,
bool
flush
=
true
);
void
WriteInt32
(
int
32_t
data
,
bool
flush
=
true
);
void
Flush
();
void
EndRecord
();
void
SaveReplay
(
const
wchar_t
*
name
);
...
...
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