mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
22 lines
368 B
C++
22 lines
368 B
C++
|
#pragma once
|
||
|
|
||
|
#include <vector>
|
||
|
|
||
|
#include "common/common_types.h"
|
||
|
#include "environment.h"
|
||
|
|
||
|
namespace Shader {
|
||
|
|
||
|
class FileEnvironment final : public Environment {
|
||
|
public:
|
||
|
explicit FileEnvironment(const char* path);
|
||
|
~FileEnvironment() override;
|
||
|
|
||
|
u64 ReadInstruction(u32 offset) const override;
|
||
|
|
||
|
private:
|
||
|
std::vector<u64> data;
|
||
|
};
|
||
|
|
||
|
} // namespace Shader
|