mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 17:01:24 +12:00
error_code implemented
Reports based on formatting system ppu_error_code removed arm_error_code removed
This commit is contained in:
parent
1c33c012ad
commit
ad174eb12c
35 changed files with 984 additions and 1023 deletions
|
@ -192,6 +192,20 @@ struct ppu_gpr_cast_impl<b8, void>
|
|||
}
|
||||
};
|
||||
|
||||
template<>
|
||||
struct ppu_gpr_cast_impl<error_code, void>
|
||||
{
|
||||
static inline u64 to(const error_code& code)
|
||||
{
|
||||
return code;
|
||||
}
|
||||
|
||||
static inline error_code from(const u64 reg)
|
||||
{
|
||||
return not_an_error(reg);
|
||||
}
|
||||
};
|
||||
|
||||
template<typename T, typename AT>
|
||||
struct ppu_gpr_cast_impl<vm::_ptr_base<T, AT>, void>
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue