Shader_IR: Allow constant access of guest driver.

This commit is contained in:
Fernando Sahmkow 2020-01-08 10:28:29 -04:00 committed by FernandoS27
parent c5fdcd7a2c
commit 5fb7881077
7 changed files with 18 additions and 1 deletions

View file

@ -81,7 +81,7 @@ public:
return bound_buffer;
}
VideoCore::GuestDriverProfile* AccessGuestDriverProfile() {
VideoCore::GuestDriverProfile* AccessGuestDriverProfile() const {
if (engine) {
return &(engine->AccessGuestDriverProfile());
}