Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile
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
fallenstardust
YGOMobile
Commits
78406e4b
Commit
78406e4b
authored
Aug 03, 2021
by
247321453
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix log
parent
7f6e461c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Classes/gframe/data_manager.cpp
Classes/gframe/data_manager.cpp
+0
-1
Classes/gframe/game.cpp
Classes/gframe/game.cpp
+4
-4
No files found.
Classes/gframe/data_manager.cpp
View file @
78406e4b
...
...
@@ -149,7 +149,6 @@ bool DataManager::Error(spmemvfs_db_t* pDB, sqlite3_stmt* pStmt, int errNo) {
BufferIO
::
DecodeUTF8
(
msg
,
strBuffer
);
if
(
pStmt
)
sqlite3_finalize
(
pStmt
);
int
len
=
strlen
(
msg
);
ALOGE
(
"cdb Error code=%d,msg=%s"
,
errNo
,
msg
);
spmemvfs_close_db
(
pDB
);
spmemvfs_env_fini
();
...
...
Classes/gframe/game.cpp
View file @
78406e4b
...
...
@@ -169,9 +169,9 @@ bool Game::Initialize(ANDROID_APP app, android::InitOptions *options) {
for
(
int
i
=
0
;
i
<
len
;
i
++
){
io
::
path
zip_path
=
zips
[
i
];
if
(
dataManager
.
FileSystem
->
addFileArchive
(
zip_path
.
c_str
(),
false
,
false
,
EFAT_ZIP
))
{
ALOGD
(
"add arrchive ok
"
,
zip_path
.
c_str
());
ALOGD
(
"add arrchive ok
:%s
"
,
zip_path
.
c_str
());
}
else
{
ALOGW
(
"add arrchive fail
"
,
zip_path
.
c_str
());
ALOGW
(
"add arrchive fail
:%s
"
,
zip_path
.
c_str
());
}
}
#endif
...
...
@@ -231,9 +231,9 @@ bool Game::Initialize(ANDROID_APP app, android::InitOptions *options) {
wchar_t
wpath
[
1024
];
BufferIO
::
DecodeUTF8
(
cdb_path
.
c_str
(),
wpath
);
if
(
dataManager
.
LoadDB
(
wpath
))
{
ALOGD
(
"add cdb ok
"
,
cdb_path
.
c_str
());
ALOGD
(
"add cdb ok
:%s
"
,
cdb_path
.
c_str
());
}
else
{
ALOGW
(
"add cdb fail
"
,
cdb_path
.
c_str
());
ALOGW
(
"add cdb fail
:%s
"
,
cdb_path
.
c_str
());
}
}
//if(!dataManager.LoadDB(workingDir.append("/cards.cdb").c_str()))
...
...
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