2013-01-14 06:25:28 +01:00
|
|
|
/**
|
|
|
|
|
******************************************************************************
|
|
|
|
|
* 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. *
|
|
|
|
|
******************************************************************************
|
|
|
|
|
*/
|
|
|
|
|
|
2013-12-07 07:57:16 +01:00
|
|
|
#include <alloy/frontend/frontend.h>
|
2013-01-14 06:25:28 +01:00
|
|
|
|
2013-12-07 07:57:16 +01:00
|
|
|
#include <alloy/frontend/tracing.h>
|
|
|
|
|
#include <alloy/runtime/runtime.h>
|
2013-01-14 06:25:28 +01:00
|
|
|
|
2013-12-07 07:57:16 +01:00
|
|
|
using namespace alloy;
|
|
|
|
|
using namespace alloy::frontend;
|
|
|
|
|
using namespace alloy::runtime;
|
2013-01-14 06:25:28 +01:00
|
|
|
|
2013-12-07 07:57:16 +01:00
|
|
|
|
|
|
|
|
Frontend::Frontend(Runtime* runtime) :
|
2013-12-07 13:39:48 +01:00
|
|
|
runtime_(runtime), context_info_(0) {
|
2013-12-07 07:57:16 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Frontend::~Frontend() {
|
2013-12-07 13:39:48 +01:00
|
|
|
delete context_info_;
|
2013-12-07 07:57:16 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Memory* Frontend::memory() const {
|
|
|
|
|
return runtime_->memory();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int Frontend::Initialize() {
|
|
|
|
|
return 0;
|
|
|
|
|
}
|