Creeper: Fixes compilation and runtime errors

This commit is contained in:
Gabriel Correia 2024-06-05 18:49:11 -03:00
parent 6319ee9101
commit f30a475786
5 changed files with 6 additions and 6 deletions

View File

@ -97,9 +97,9 @@ namespace cosmic::engine {
if (executor)
executor.reset();
if (cpuMode == CachedInterpreter) {
executor = std::make_unique<creeper::ee::MipsIvInterpreter>(*this);
executor = std::make_unique<creeper::MipsIvInterpreter>(*this);
} else if (cpuMode == JitRe) {
executor = std::make_unique<fishron::ee2arm::EeArm64Jitter>(*this);
executor = std::make_unique<fishron::EeArm64Jitter>(*this);
}
});
}

View File

@ -1,6 +1,6 @@
#include <fishron/jitter_arm64_ee.h>
namespace cosmic::fishron::ee2arm {
namespace cosmic::fishron {
u32 EeArm64Jitter::executeCode() {
return {};
}

View File

@ -2,7 +2,7 @@
#include <engine/ee_info.h>
#include <fishron/emitter_common.h>
namespace cosmic::fishron::ee2arm {
namespace cosmic::fishron {
class EeArm64Jitter : public engine::EeExecutor {
public:
EeArm64Jitter(engine::EeMipsCore& intCpu) :

View File

@ -15,7 +15,7 @@ namespace cosmic::iop {
IoMipsCore::IoMipsCore(std::shared_ptr<mio::MemoryPipe>& pipe) :
iopMem(pipe) {
interpreter = std::make_unique<creeper::psx::IopInterpreter>(*this);
interpreter = std::make_unique<creeper::IopInterpreter>(*this);
for (auto& cache : instCache) {
cache.data = {};
cache.tag = {};

View File

@ -34,7 +34,7 @@ namespace cosmic::vu {
for (u8 vifI{}; vifI < 2; vifI++)
vifTops[vifI] = nullptr;
exe = std::make_unique<creeper::micro::VuMicroInterpreter>(*this);
exe = std::make_unique<creeper::VuMicroInterpreter>(*this);
// vf00 is hardwired to the vector {0.0, 0.0, 0.0, 1.0}
VuGPRs[0].w = 1.0;