diff options
author | RSDuck <rsduck@users.noreply.github.com> | 2019-06-22 01:28:32 +0200 |
---|---|---|
committer | RSDuck <rsduck@users.noreply.github.com> | 2020-06-16 11:53:05 +0200 |
commit | c692287ebab4dfdec16bb0a8ce338a4b6fe2d439 (patch) | |
tree | 227ef520beebbe860696a06948a6d95570f9741e /src/dolphin/Log.h | |
parent | aa6ff499f98dfbb5ca9aa8cac27fed813684eb45 (diff) |
JIT: base
all instructions are interpreted
Diffstat (limited to 'src/dolphin/Log.h')
-rw-r--r-- | src/dolphin/Log.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/dolphin/Log.h b/src/dolphin/Log.h new file mode 100644 index 0000000..21e69a5 --- /dev/null +++ b/src/dolphin/Log.h @@ -0,0 +1,20 @@ +#pragma once + +#include "CommonFuncs.h" + +#include <stdio.h> + +#define PanicAlert(msg) \ + do \ + { \ + printf("%s\n", msg); \ + Crash(); \ + } while (false) + +#define DYNA_REC 0 + +#define ERROR_LOG(which, fmt, ...) \ + do \ + { \ + printf(fmt "\n", ## __VA_ARGS__); \ + } while (false) |