Skip to content

Commit

Permalink
nologs
Browse files Browse the repository at this point in the history
  • Loading branch information
user95401 committed Sep 7, 2024
1 parent 7932e80 commit 4997ca7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/resources.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ class $modify(CCFileUtilsExt, CCFileUtils) {
return path.string().c_str();
}
$override virtual unsigned char* getFileData(const char* pszFileName, const char* pszMode, unsigned long* pSize) {
log::debug("{}.pszFileName = {}", __FUNCTION__, pszFileName);
//log::debug("{}.pszFileName = {}", __FUNCTION__, pszFileName);
if (string::contains(pszFileName, "ui/")) {
auto myfp = Mod::get()->getResourcesDir() / string::replace(pszFileName, "ui/", "ui.");
log::debug("{}.myfp = {}", __FUNCTION__, myfp);
//log::debug("{}.myfp = {}", __FUNCTION__, myfp);
if (cocos::fileExistsInSearchPaths(myfp.string().c_str())) {
pszFileName = myfp.string().c_str();
}
Expand Down

0 comments on commit 4997ca7

Please sign in to comment.