mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-07 22:55:40 +12:00
This should clean up all HLE errorcode in the codebase. I didn't removed Rust::Result as this should be a cleanup for another iteration.
14 lines
620 B
C++
14 lines
620 B
C++
#pragma once
|
|
#include "result_common.hpp"
|
|
|
|
DEFINE_HORIZON_RESULT_MODULE(Result::OS, OS);
|
|
|
|
namespace Result::OS {
|
|
DEFINE_HORIZON_RESULT(PortNameTooLong, 30, InvalidArgument, Usage);
|
|
DEFINE_HORIZON_RESULT(InvalidHandle, 1015, WrongArgument, Permanent);
|
|
DEFINE_HORIZON_RESULT(InvalidCombination, 1006, InvalidArgument, Usage);
|
|
DEFINE_HORIZON_RESULT(MisalignedAddress, 1009, InvalidArgument, Usage);
|
|
DEFINE_HORIZON_RESULT(MisalignedSize, 1010, InvalidArgument, Usage);
|
|
DEFINE_HORIZON_RESULT(OutOfRange, 1021, InvalidArgument, Usage);
|
|
DEFINE_HORIZON_RESULT(Timeout, 1022, StatusChanged, Info);
|
|
};
|