2023-02-20 04:27:35 +01:00
|
|
|
#include "../portultra/multilibultra.hpp"
|
|
|
|
#include "recomp.h"
|
|
|
|
|
|
|
|
extern "C" void osViSetYScale_recomp(uint8_t* rdram, recomp_context * ctx) {
|
2023-03-06 02:16:16 +01:00
|
|
|
assert(false);
|
2023-02-20 04:27:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
extern "C" void osViSetXScale_recomp(uint8_t* rdram, recomp_context * ctx) {
|
2023-03-06 02:16:16 +01:00
|
|
|
assert(false);
|
2023-02-20 04:27:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
extern "C" void osCreateViManager_recomp(uint8_t* rdram, recomp_context* ctx) {
|
|
|
|
;
|
|
|
|
}
|
|
|
|
|
|
|
|
extern "C" void osViBlack_recomp(uint8_t* rdram, recomp_context* ctx) {
|
2023-03-06 02:16:16 +01:00
|
|
|
osViBlack((uint32_t)ctx->r4);
|
2023-02-20 04:27:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
extern "C" void osViSetSpecialFeatures_recomp(uint8_t* rdram, recomp_context* ctx) {
|
2023-03-06 02:16:16 +01:00
|
|
|
osViSetSpecialFeatures((uint32_t)ctx->r4);
|
2023-02-20 04:27:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
extern "C" void osViGetCurrentFramebuffer_recomp(uint8_t* rdram, recomp_context* ctx) {
|
|
|
|
ctx->r2 = (gpr)(int32_t)osViGetCurrentFramebuffer();
|
|
|
|
}
|
|
|
|
|
|
|
|
extern "C" void osViGetNextFramebuffer_recomp(uint8_t* rdram, recomp_context* ctx) {
|
|
|
|
ctx->r2 = (gpr)(int32_t)osViGetNextFramebuffer();
|
|
|
|
}
|
|
|
|
|
|
|
|
extern "C" void osViSwapBuffer_recomp(uint8_t* rdram, recomp_context* ctx) {
|
|
|
|
osViSwapBuffer(rdram, (int32_t)ctx->r4);
|
|
|
|
}
|
|
|
|
|
|
|
|
extern "C" void osViSetMode_recomp(uint8_t* rdram, recomp_context* ctx) {
|
2023-03-03 05:38:52 +01:00
|
|
|
osViSetMode(rdram, (int32_t)ctx->r4);
|
2023-02-20 04:27:35 +01:00
|
|
|
}
|