mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-10-04 02:21:11 -04: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
|