Files
Xenia-Canary/src/xenia/cpu/backend/code_cache.h

34 lines
961 B
C++

/**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2015 Ben Vanik. All rights reserved. *
* Released under the BSD license - see LICENSE in the root for more details. *
******************************************************************************
*/
#ifndef XENIA_BACKEND_CODE_CACHE_H_
#define XENIA_BACKEND_CODE_CACHE_H_
#include <string>
namespace xe {
namespace cpu {
namespace backend {
class CodeCache {
public:
CodeCache() = default;
virtual ~CodeCache() = default;
virtual std::wstring file_name() const = 0;
virtual uint32_t base_address() const = 0;
virtual uint32_t total_size() const = 0;
};
} // namespace backend
} // namespace cpu
} // namespace xe
#endif // XENIA_BACKEND_CODE_CACHE_H_