Added mechanism for getting aspect ratio from recompiled code, fixed wipe3 transition in widescreen

This commit is contained in:
Mr-Wiseguy
2024-02-17 22:12:23 -05:00
parent b6cec905c7
commit 99c14fde04
6 changed files with 66 additions and 0 deletions
+4
View File
@@ -877,6 +877,10 @@ struct {
// TODO make this not be global
extern SDL_Window* window;
void recomp::get_window_size(int& width, int& height) {
SDL_GetWindowSizeInPixels(window, &width, &height);
}
void init_hook(RT64::RenderInterface* interface, RT64::RenderDevice* device) {
printf("RT64 hook init\n");