summaryrefslogtreecommitdiffhomepage
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/CodeManager.cxx4
-rw-r--r--Source/FileManager.cxx7
2 files changed, 5 insertions, 6 deletions
diff --git a/Source/CodeManager.cxx b/Source/CodeManager.cxx
index 47c7bd1b..4f65de07 100644
--- a/Source/CodeManager.cxx
+++ b/Source/CodeManager.cxx
@@ -23,9 +23,9 @@ namespace hCore
UInt32 rt_get_pef_platform(void)
{
#ifdef __powerpc
- return kPefArchPower;
+ return kPefArchPOWER;
#elif defined(__arc__)
- return kPefArchARC;
+ return kPefArch64x0;
#elif defined(__x86_64__)
return kPefArchAMD64;
#else
diff --git a/Source/FileManager.cxx b/Source/FileManager.cxx
index c7e51811..55b16cbe 100644
--- a/Source/FileManager.cxx
+++ b/Source/FileManager.cxx
@@ -25,10 +25,10 @@ namespace hCore
{
if (kMounted)
{
- auto mount = kMounted;
- kMounted = nullptr;
+ auto mount = kMounted;
+ kMounted = nullptr;
- return mount;
+ return mount;
}
return nullptr;
@@ -39,7 +39,6 @@ namespace hCore
if (pMount)
{
kMounted = pMount;
-
return true;
}