Files
Xenia-Canary/src/xenia/cpu/backend.h
Ben Vanik b7ffd46319 Massive refactoring of all code + audio skeleton.
This should make it easier to find files and (in the future) split things
up into separate libraries.
It also changes around emulator initialization to make it a little more
difficult to do things out of order and a little more sensible as to when
real init work happens.
Also adding a skeleton audio system/driver and reworking CPU register
access to be more extensible.
2013-10-23 20:42:24 -07:00

45 lines
940 B
C++

/**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2013 Ben Vanik. All rights reserved. *
* Released under the BSD license - see LICENSE in the root for more details. *
******************************************************************************
*/
#ifndef XENIA_CPU_BACKEND_H_
#define XENIA_CPU_BACKEND_H_
#include <xenia/common.h>
#include <xenia/memory.h>
namespace xe {
namespace cpu {
class JIT;
namespace sdb {
class SymbolTable;
} // namespace sdb
class Backend {
public:
virtual ~Backend() {}
virtual JIT* CreateJIT(xe_memory_ref memory, sdb::SymbolTable* sym_table) = 0;
protected:
Backend() {}
};
} // namespace cpu
} // namespace xe
#endif // XENIA_CPU_BACKEND_H_