Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
R
rd-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
苍蓝
rd-ygopro
Commits
d435b6b5
Commit
d435b6b5
authored
Jan 05, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moveout
parent
82774b2c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
gframe/duelclient.cpp
gframe/duelclient.cpp
+4
-5
No files found.
gframe/duelclient.cpp
View file @
d435b6b5
...
@@ -367,12 +367,11 @@ void DuelClient::HandleSTOCPacketLan(char* data, unsigned int len) {
...
@@ -367,12 +367,11 @@ void DuelClient::HandleSTOCPacketLan(char* data, unsigned int len) {
unsigned short count = BufferIO::ReadUInt16(pdata);
unsigned short count = BufferIO::ReadUInt16(pdata);
char temp1[64];
char temp1[64];
char temp2[128];
char temp2[128];
for(unsigned short i = 0; i < count; ++i) {
wchar_t roomname[32];
wchar_t roomname[32];
wchar_t player1[64];
wchar_t player1[64];
wchar_t player2[64];
wchar_t player2[64];
wchar_t hoststr[1024];
wchar_t hoststr[1024];
for(unsigned short i = 0; i < count; ++i) {
memcpy(temp1, pdata, 64);
memcpy(temp1, pdata, 64);
pdata += 64;
pdata += 64;
BufferIO::DecodeUTF8(temp1, roomname);
BufferIO::DecodeUTF8(temp1, roomname);
...
...
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