fix windows

This commit is contained in:
Nishi 2026-01-12 06:15:07 +09:00
commit f1def38e3d
Signed by: nishi
GPG key ID: 27EF69B208EB9343
4 changed files with 14 additions and 9 deletions

View file

@ -15,8 +15,6 @@ void GSInit(void) {
GSVersionGet(&version);
GSLog(GSLogInfo, "GearSrc Engine %s", version.string);
gload_init();
}
int GSEngineRegisterResource(GSEngine engine, const char* name, const char* path) {
@ -45,6 +43,8 @@ GSEngine GSEngineCreate(GSEngineParam* param) {
param->ready(engine->width, engine->height);
}
gload_init();
sh_new_strdup(engine->resource);
GSEngineRegisterResource(engine, "base", "base.pak");