mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-23 03:15:58 -04:00
fix some warnings
This commit is contained in:
parent
2b1becc233
commit
363d27395c
3 changed files with 5 additions and 3 deletions
loader
|
@ -159,6 +159,8 @@ endif()
|
|||
|
||||
target_compile_definitions(${PROJECT_NAME} PUBLIC GEODE_EXPORTING MAT_JSON_EXPORTING)
|
||||
|
||||
target_compile_definitions(${PROJECT_NAME} PRIVATE _CRT_SECURE_NO_WARNINGS)
|
||||
|
||||
# These are only needed for building source :-)
|
||||
if (NOT GEODE_BUILDING_DOCS)
|
||||
# Markdown support
|
||||
|
|
|
@ -78,8 +78,8 @@ public:
|
|||
HACCEL m_hAccelTable;
|
||||
LARGE_INTEGER m_nAnimationInterval;
|
||||
LARGE_INTEGER m_nVsyncInterval;
|
||||
std::string m_resourceRootPath;
|
||||
std::string m_startupScriptFilename;
|
||||
gd::string m_resourceRootPath;
|
||||
gd::string m_startupScriptFilename;
|
||||
CCControllerHandler* m_pControllerHandler;
|
||||
bool m_bUpdateController;
|
||||
CC_SYNTHESIZE_NV(bool, m_bShutdownCalled, ShutdownCalled);
|
||||
|
|
|
@ -164,7 +164,7 @@ bool Loader::Impl::userTriedToLoadDLLs() const {
|
|||
bool triedToLoadDLLs = false;
|
||||
|
||||
// Check for .DLLs in mods dir
|
||||
if (auto files = file::listFiles(dirs::getModsDir(), true)) {
|
||||
if (auto files = file::readDirectory(dirs::getModsDir(), true)) {
|
||||
for (auto& file : files.unwrap()) {
|
||||
if (file.extension() == ".dll") {
|
||||
triedToLoadDLLs = true;
|
||||
|
|
Loading…
Reference in a new issue