#include "stdafx.h" #include "Emu/System.h" #include "Emu/ARMv7/PSVFuncList.h" #include "sceDisplay.h" s32 sceDisplayGetRefreshRate(vm::ptr pFps) { throw EXCEPTION(""); } s32 sceDisplaySetFrameBuf(vm::cptr pFrameBuf, s32 iUpdateTimingMode) { throw EXCEPTION(""); } s32 sceDisplayGetFrameBuf(vm::ptr pFrameBuf, s32 iUpdateTimingMode) { throw EXCEPTION(""); } s32 sceDisplayGetVcount() { throw EXCEPTION(""); } s32 sceDisplayWaitVblankStart() { throw EXCEPTION(""); } s32 sceDisplayWaitVblankStartCB() { throw EXCEPTION(""); } s32 sceDisplayWaitVblankStartMulti(u32 vcount) { throw EXCEPTION(""); } s32 sceDisplayWaitVblankStartMultiCB(u32 vcount) { throw EXCEPTION(""); } s32 sceDisplayWaitSetFrameBuf() { throw EXCEPTION(""); } s32 sceDisplayWaitSetFrameBufCB() { throw EXCEPTION(""); } s32 sceDisplayWaitSetFrameBufMulti(u32 vcount) { throw EXCEPTION(""); } s32 sceDisplayWaitSetFrameBufMultiCB(u32 vcount) { throw EXCEPTION(""); } s32 sceDisplayRegisterVblankStartCallback(s32 uid) { throw EXCEPTION(""); } s32 sceDisplayUnregisterVblankStartCallback(s32 uid) { throw EXCEPTION(""); } #define REG_FUNC(nid, name) reg_psv_func(nid, &sceDisplay, #name, name) psv_log_base sceDisplay("SceDisplay", []() { sceDisplay.on_load = nullptr; sceDisplay.on_unload = nullptr; sceDisplay.on_stop = nullptr; sceDisplay.on_error = nullptr; // SceDisplayUser REG_FUNC(0x7A410B64, sceDisplaySetFrameBuf); REG_FUNC(0x42AE6BBC, sceDisplayGetFrameBuf); // SceDisplay REG_FUNC(0xA08CA60D, sceDisplayGetRefreshRate); REG_FUNC(0xB6FDE0BA, sceDisplayGetVcount); REG_FUNC(0x5795E898, sceDisplayWaitVblankStart); REG_FUNC(0x78B41B92, sceDisplayWaitVblankStartCB); REG_FUNC(0xDD0A13B8, sceDisplayWaitVblankStartMulti); REG_FUNC(0x05F27764, sceDisplayWaitVblankStartMultiCB); REG_FUNC(0x9423560C, sceDisplayWaitSetFrameBuf); REG_FUNC(0x814C90AF, sceDisplayWaitSetFrameBufCB); REG_FUNC(0x7D9864A8, sceDisplayWaitSetFrameBufMulti); REG_FUNC(0x3E796EF5, sceDisplayWaitSetFrameBufMultiCB); REG_FUNC(0x6BDF4C4D, sceDisplayRegisterVblankStartCallback); REG_FUNC(0x98436A80, sceDisplayUnregisterVblankStartCallback); });