Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-core
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
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
MyCard
ygopro-core
Commits
875160ba
Commit
875160ba
authored
Jun 04, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes for Android
parent
11898b44
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
card.cpp
card.cpp
+4
-0
field.cpp
field.cpp
+3
-0
No files found.
card.cpp
View file @
875160ba
...
...
@@ -269,7 +269,11 @@ uint32 card::get_infos(byte* buf, int32 query_flag, int32 use_cache) {
}
}
*
(
uint32
*
)
buf
=
(
byte
*
)
p
-
buf
;
#ifdef _IRR_ANDROID_PLATFORM_
memcpy
(
buf
+
4
,
&
query_flag
,
sizeof
(
uint32
));
#else
*
(
uint32
*
)(
buf
+
4
)
=
query_flag
;
#endif
return
(
uint32
)((
byte
*
)
p
-
buf
);
}
uint32
card
::
get_info_location
()
{
...
...
field.cpp
View file @
875160ba
...
...
@@ -114,6 +114,9 @@ field::field(duel* pduel) {
nil_event
.
reason
=
0
;
nil_event
.
reason_effect
=
0
;
nil_event
.
reason_player
=
PLAYER_NONE
;
#ifdef _IRR_ANDROID_PLATFORM_
memset
(
&
returns
,
0
,
sizeof
(
return_value
));
#endif
}
void
field
::
reload_field_info
()
{
pduel
->
write_buffer8
(
MSG_RELOAD_FIELD
);
...
...
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