Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Sonic+Miscellaneous.cpp : Defines the exported functions for the DLL application.
- //
- #include "stdafx.h"
- #include "SADXModLoader.h"
- #include "functions.h"
- extern "C"
- {
- __declspec(dllexport) ModInfo SADXModInfo = { ModLoaderVer };
- __declspec(dllexport) void Init(const char *path, const HelperFunctions &helperFunctions)
- {
- Sonic_Init(path, helperFunctions);
- }
- __declspec(dllexport) void OnInput()
- {
- Sonic_OnInput();
- }
- __declspec(dllexport) void OnFrame()
- {
- Sonic_OnFrame();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement