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
8cdaf314
Commit
8cdaf314
authored
Dec 15, 2024
by
Chen Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use int32_t in ReadInt32
parent
e147da02
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 @
8cdaf314
...
@@ -214,8 +214,8 @@ bool Replay::ReadData(void* data, size_t length) {
...
@@ -214,8 +214,8 @@ bool Replay::ReadData(void* data, size_t length) {
data_position
+=
length
;
data_position
+=
length
;
return
true
;
return
true
;
}
}
int
Replay
::
ReadInt32
()
{
int
32_t
Replay
::
ReadInt32
()
{
return
Read
Value
<
int32_t
>
();
return
Read
<
int32_t
>
();
}
}
void
Replay
::
Rewind
()
{
void
Replay
::
Rewind
()
{
data_position
=
0
;
data_position
=
0
;
...
...
gframe/replay.h
View file @
8cdaf314
...
@@ -59,7 +59,7 @@ public:
...
@@ -59,7 +59,7 @@ public:
ReadData
(
&
ret
,
sizeof
(
T
));
ReadData
(
&
ret
,
sizeof
(
T
));
return
ret
;
return
ret
;
}
}
int
ReadInt32
();
int
32_t
ReadInt32
();
void
Rewind
();
void
Rewind
();
FILE
*
fp
{
nullptr
};
FILE
*
fp
{
nullptr
};
...
...
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