[CPU] Null backend enough for GPU trace viewing
This commit is contained in:
36
src/xenia/cpu/backend/null_backend.cc
Normal file
36
src/xenia/cpu/backend/null_backend.cc
Normal file
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* Xenia : Xbox 360 Emulator Research Project *
|
||||
******************************************************************************
|
||||
* Copyright 2022 Ben Vanik. All rights reserved. *
|
||||
* Released under the BSD license - see LICENSE in the root for more details. *
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
#include "xenia/cpu/backend/null_backend.h"
|
||||
|
||||
#include "xenia/cpu/backend/assembler.h"
|
||||
#include "xenia/cpu/function.h"
|
||||
|
||||
namespace xe {
|
||||
namespace cpu {
|
||||
namespace backend {
|
||||
|
||||
void NullBackend::CommitExecutableRange(uint32_t guest_low,
|
||||
uint32_t guest_high) {}
|
||||
|
||||
std::unique_ptr<Assembler> NullBackend::CreateAssembler() { return nullptr; }
|
||||
|
||||
std::unique_ptr<GuestFunction> NullBackend::CreateGuestFunction(
|
||||
Module* module, uint32_t address) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
uint64_t NullBackend::CalculateNextHostInstruction(ThreadDebugInfo* thread_info,
|
||||
uint64_t current_pc) {
|
||||
return current_pc;
|
||||
}
|
||||
|
||||
} // namespace backend
|
||||
} // namespace cpu
|
||||
} // namespace xe
|
||||
Reference in New Issue
Block a user