Corrections and styling

This commit is contained in:
Fernando Sahmkow
2019-04-23 08:02:24 -04:00
parent 701ce1c9d0
commit 021d28c9b8
5 changed files with 9 additions and 6 deletions

View File

@ -34,7 +34,7 @@ void KeplerCompute::CallMethod(const GPU::MethodCall& method_call) {
break;
}
case KEPLER_COMPUTE_REG_INDEX(data_upload): {
bool is_last_call = method_call.IsLastCall();
const bool is_last_call = method_call.IsLastCall();
upload_state.ProcessData(method_call.argument, is_last_call);
if (is_last_call) {
system.GPU().Maxwell3D().dirty_flags.OnMemoryWrite();