code: Result constants are lower case

This commit is contained in:
GPUCode
2023-12-12 00:13:23 +02:00
parent 3ae8431aef
commit 475c01e053
85 changed files with 1400 additions and 1404 deletions

View File

@ -14,7 +14,7 @@ Result Mint::ReceiveParameterImpl(const Service::APT::MessageParameter& paramete
LOG_ERROR(Service_APT, "unsupported signal {}", parameter.signal);
UNIMPLEMENTED();
// TODO(Subv): Find the right error code
return Result(-1);
return ResultUnknown;
}
// The Request message contains a buffer with the size of the framebuffer shared
@ -40,7 +40,7 @@ Result Mint::ReceiveParameterImpl(const Service::APT::MessageParameter& paramete
.object = framebuffer_memory,
});
return RESULT_SUCCESS;
return ResultSuccess;
}
Result Mint::Start(const Service::APT::MessageParameter& parameter) {
@ -52,14 +52,14 @@ Result Mint::Start(const Service::APT::MessageParameter& parameter) {
// Let the application know that we're closing
Finalize();
return RESULT_SUCCESS;
return ResultSuccess;
}
Result Mint::Finalize() {
std::vector<u8> buffer(startup_param.size());
std::fill(buffer.begin(), buffer.end(), 0);
CloseApplet(nullptr, buffer);
return RESULT_SUCCESS;
return ResultSuccess;
}
void Mint::Update() {}