diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2019-06-12 19:05:06 +0200 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2019-06-12 19:05:06 +0200 |
commit | 3317217ed84b0a592400ff476ab070a46968c938 (patch) | |
tree | fec1cf879420759124e34ac31951e2a049336921 /src/main.cpp | |
parent | Merge pull request #5 from GTAmodding/master (diff) | |
download | re3-3317217ed84b0a592400ff476ab070a46968c938.tar re3-3317217ed84b0a592400ff476ab070a46968c938.tar.gz re3-3317217ed84b0a592400ff476ab070a46968c938.tar.bz2 re3-3317217ed84b0a592400ff476ab070a46968c938.tar.lz re3-3317217ed84b0a592400ff476ab070a46968c938.tar.xz re3-3317217ed84b0a592400ff476ab070a46968c938.tar.zst re3-3317217ed84b0a592400ff476ab070a46968c938.zip |
Diffstat (limited to '')
-rw-r--r-- | src/main.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index e56d6938..ad40c3b0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -53,8 +53,6 @@ #define DEFAULT_ASPECTRATIO (4.0f/3.0f) #endif -WRAPPER void CameraSize(RwCamera *camera, void *rect, float viewWindow, float aspectRatio) { EAXJMP(0x527170); } - //WRAPPER RwBool RpAnimBlendPluginAttach() { EAXJMP(0x4052D0); } WRAPPER RwBool NodeNamePluginAttach() { EAXJMP(0x527100); } @@ -680,7 +678,8 @@ AppEventHandler(RsEvent event, void *param) case rsCAMERASIZE: { - CameraSize(Scene.camera, param, DEFAULT_VIEWWINDOW, DEFAULT_ASPECTRATIO); + CameraSize(Scene.camera, (RwRect *)param, + DEFAULT_VIEWWINDOW, DEFAULT_ASPECTRATIO); return rsEVENTPROCESSED; } |