mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
No need for this hoop jumping here.
This commit is contained in:
parent
8e0fa3bb5f
commit
73815ba1dd
@ -104,9 +104,9 @@ enum class Operation: uint8_t {
|
|||||||
Max = RESET
|
Max = RESET
|
||||||
};
|
};
|
||||||
|
|
||||||
template <Model model, Operation t_op = Operation::Undefined>
|
template <Model model>
|
||||||
constexpr bool requires_supervisor(Operation r_op = Operation::Undefined) {
|
constexpr bool requires_supervisor(Operation op) {
|
||||||
switch(t_op != Operation::Undefined ? t_op : r_op) {
|
switch(op) {
|
||||||
case Operation::MOVEfromSR:
|
case Operation::MOVEfromSR:
|
||||||
if constexpr (model == Model::M68000) {
|
if constexpr (model == Model::M68000) {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user