Dummy implementations of VI scale functions
This commit is contained in:
parent
937c64f544
commit
9e80499197
|
@ -445,6 +445,18 @@ extern "C" void osViBlack(uint8_t active) {
|
||||||
vi_black = active;
|
vi_black = active;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extern "C" void osViSetXScale(float scale) {
|
||||||
|
if (scale != 1.0f) {
|
||||||
|
assert(false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
extern "C" void osViSetYScale(float scale) {
|
||||||
|
if (scale != 1.0f) {
|
||||||
|
assert(false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
extern "C" PTR(void) osViGetNextFramebuffer() {
|
extern "C" PTR(void) osViGetNextFramebuffer() {
|
||||||
return events_context.vi.next_buffer;
|
return events_context.vi.next_buffer;
|
||||||
}
|
}
|
||||||
|
|
|
@ -237,6 +237,8 @@ void osViSwapBuffer(RDRAM_ARG PTR(void) frameBufPtr);
|
||||||
void osViSetMode(RDRAM_ARG PTR(OSViMode));
|
void osViSetMode(RDRAM_ARG PTR(OSViMode));
|
||||||
void osViSetSpecialFeatures(uint32_t func);
|
void osViSetSpecialFeatures(uint32_t func);
|
||||||
void osViBlack(uint8_t active);
|
void osViBlack(uint8_t active);
|
||||||
|
void osViSetXScale(float scale);
|
||||||
|
void osViSetYScale(float scale);
|
||||||
PTR(void) osViGetNextFramebuffer();
|
PTR(void) osViGetNextFramebuffer();
|
||||||
PTR(void) osViGetCurrentFramebuffer();
|
PTR(void) osViGetCurrentFramebuffer();
|
||||||
u32 osGetCount();
|
u32 osGetCount();
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
#include "recomp.h"
|
#include "recomp.h"
|
||||||
|
|
||||||
extern "C" void osViSetYScale_recomp(uint8_t* rdram, recomp_context * ctx) {
|
extern "C" void osViSetYScale_recomp(uint8_t* rdram, recomp_context * ctx) {
|
||||||
assert(false);
|
osViSetYScale(ctx->f12.fl);
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" void osViSetXScale_recomp(uint8_t* rdram, recomp_context * ctx) {
|
extern "C" void osViSetXScale_recomp(uint8_t* rdram, recomp_context * ctx) {
|
||||||
assert(false);
|
osViSetXScale(ctx->f12.fl);
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" void osCreateViManager_recomp(uint8_t* rdram, recomp_context* ctx) {
|
extern "C" void osCreateViManager_recomp(uint8_t* rdram, recomp_context* ctx) {
|
||||||
|
|
Loading…
Reference in New Issue