mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
21 lines
375 B
C++
21 lines
375 B
C++
![]() |
#ifndef INTERPRETER_CONTROLOPCODES_H_INCLUDED
|
||
|
#define INTERPRETER_CONTROLOPCODES_H_INCLUDED
|
||
|
|
||
|
#include "opcodes.hpp"
|
||
|
#include "runtime.hpp"
|
||
|
|
||
|
namespace Interpreter
|
||
|
{
|
||
|
class OpReturn : public Opcode0
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
virtual void execute (Runtime& runtime)
|
||
|
{
|
||
|
runtime.setPC (-1);
|
||
|
}
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif
|