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
9273069d
Commit
9273069d
authored
Jun 18, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix all zero seed
parent
a5dce932
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
gframe/gframe.cpp
gframe/gframe.cpp
+12
-2
No files found.
gframe/gframe.cpp
View file @
9273069d
...
...
@@ -130,8 +130,18 @@ int main(int argc, char* argv[]) {
reinterpret_cast
<
unsigned
char
*>
(
ygo
::
pre_seed
[
i
-
13
]),
SEED_COUNT
*
sizeof
(
uint32_t
)
);
if
(
ok
)
ygo
::
pre_seed_specified
[
i
-
13
]
=
1
;
if
(
ok
)
{
// check if it isn't all zero
bool
all_zero
=
true
;
for
(
int
j
=
0
;
j
<
SEED_COUNT
;
++
j
)
{
if
(
ygo
::
pre_seed
[
i
-
13
][
j
]
!=
0
)
{
all_zero
=
false
;
break
;
}
}
if
(
!
all_zero
)
ygo
::
pre_seed_specified
[
i
-
13
]
=
1
;
}
else
std
::
fprintf
(
stderr
,
"Failed to decode seed %d: %s
\n
"
,
i
-
13
,
argv
[
i
]);
}
...
...
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