mirror of
https://github.com/shadergz/cosmic-station.git
synced 2024-11-27 00:00:21 +00:00
Creeper
: Fixes compilation and runtime errors
This commit is contained in:
parent
6319ee9101
commit
f30a475786
@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <fishron/jitter_arm64_ee.h>
|
||||
|
||||
namespace cosmic::fishron::ee2arm {
|
||||
namespace cosmic::fishron {
|
||||
u32 EeArm64Jitter::executeCode() {
|
||||
return {};
|
||||
}
|
||||
|
@ -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) :
|
||||
|
@ -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 = {};
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user