2023-02-20 04:27:35 +01:00
|
|
|
#ifndef __RT64_LAYER_H__
|
|
|
|
#define __RT64_LAYER_H__
|
|
|
|
|
2023-11-13 01:40:02 +01:00
|
|
|
#include "../ultramodern/ultramodern.hpp"
|
2024-01-01 06:09:14 +01:00
|
|
|
#include "../ultramodern/config.hpp"
|
|
|
|
|
|
|
|
namespace RT64 {
|
|
|
|
struct Application;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace ultramodern {
|
|
|
|
struct WindowHandle;
|
|
|
|
}
|
|
|
|
|
|
|
|
RT64::Application* RT64Init(uint8_t* rom, uint8_t* rdram, ultramodern::WindowHandle window_handle);
|
|
|
|
void RT64UpdateConfig(RT64::Application* application, const ultramodern::GraphicsConfig& old_config, const ultramodern::GraphicsConfig& new_config);
|
|
|
|
void RT64SendDL(uint8_t* rdram, const OSTask* task);
|
|
|
|
void RT64UpdateScreen(uint32_t vi_origin);
|
|
|
|
void RT64ChangeWindow();
|
|
|
|
void RT64Shutdown();
|
2023-02-20 04:27:35 +01:00
|
|
|
|
2023-10-31 03:41:05 +01:00
|
|
|
void set_rt64_hooks();
|
|
|
|
|
2023-02-20 04:27:35 +01:00
|
|
|
#endif
|
|
|
|
|