2023-07-13 17:36:03 +02:00
|
|
|
#include "LibSceGnmDriver.h"
|
|
|
|
#include "Libs.h"
|
|
|
|
#include "../Loader/Elf.h"
|
2023-09-06 12:45:49 +02:00
|
|
|
#include <Util/log.h>
|
|
|
|
#include <debug.h>
|
2023-09-27 07:34:02 +02:00
|
|
|
#include <Core/PS4/GPU/gpu_memory.h>
|
|
|
|
#include <emulator.h>
|
2023-07-13 17:36:03 +02:00
|
|
|
|
|
|
|
namespace HLE::Libs::LibSceGnmDriver {
|
|
|
|
|
2023-07-17 12:39:00 +02:00
|
|
|
int32_t sceGnmSubmitDone()
|
2023-09-06 12:45:49 +02:00
|
|
|
{
|
|
|
|
PRINT_DUMMY_FUNCTION_NAME();
|
|
|
|
return 0;
|
2023-07-17 12:39:00 +02:00
|
|
|
}
|
|
|
|
|
2023-09-27 07:34:02 +02:00
|
|
|
void sceGnmFlushGarlic() { PRINT_FUNCTION_NAME();
|
2023-10-13 08:40:59 +02:00
|
|
|
GPU::flushGarlic(Emu::getGraphicCtx());
|
2023-09-06 12:45:49 +02:00
|
|
|
}
|
2023-07-17 12:39:00 +02:00
|
|
|
|
2023-07-14 13:29:13 +02:00
|
|
|
void LibSceGnmDriver_Register(SymbolsResolver* sym)
|
|
|
|
{
|
|
|
|
LIB_FUNCTION("yvZ73uQUqrk", "libSceGnmDriver", 1, "libSceGnmDriver", 1, 1, sceGnmSubmitDone);
|
|
|
|
LIB_FUNCTION("iBt3Oe00Kvc", "libSceGnmDriver", 1, "libSceGnmDriver", 1, 1, sceGnmFlushGarlic);
|
|
|
|
}
|
|
|
|
|
2023-07-13 17:36:03 +02:00
|
|
|
};
|