aboutsummaryrefslogtreecommitdiff
path: root/src/vcall.h
diff options
context:
space:
mode:
authorGravatar Michael Smith <mikesmiffy128@gmail.com> 2025-04-16 21:28:45 +0100
committerGravatar Michael Smith <mikesmiffy128@gmail.com> 2025-04-16 21:31:20 +0100
commit0b40d4d9ea1cbfbb92795e0d6f26cf108f2dec5f (patch)
tree3caf7789a3141a369575c0749124089dbc08e916 /src/vcall.h
parent7dcdcd0f62c7c103148b17aed8376a457aad6d8a (diff)
downloadsst-0b40d4d9ea1cbfbb92795e0d6f26cf108f2dec5f.tar.gz
sst-0b40d4d9ea1cbfbb92795e0d6f26cf108f2dec5f.zip
Add missing REQUIRE_GAMEDATA things to demorec
These gamedata entries are always available, but there's no reason not to check for them in case that changes in future. As-is now, the checks will be trivial for the compiler to optimise out.
Diffstat (limited to 'src/vcall.h')
-rw-r--r--src/vcall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vcall.h b/src/vcall.h
index 285bc79..55fcfe6 100644
--- a/src/vcall.h
+++ b/src/vcall.h
@@ -128,7 +128,7 @@
#define DECL_VFUNC_CDECL(ret, name, idx, ...) \
_DECL_VFUNC(ret, , name, idx __VA_OPT__(,) __VA_ARGS__)
-/* Define a virtual function with an index defined elsewhere */
+/* Define a virtual function with an index defined elsewhere (e.g. gamedata) */
#define DECL_VFUNC_DYN(ret, name, ...) \
_DECL_VFUNC_DYN(ret, VCALLCONV, name __VA_OPT__(,) __VA_ARGS__)