Added system path stuff on Windows
Fixed typo in image loading
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
void G_ImagesLoad(G_State *game) {
|
||||
M_TempScope(0, 0) {
|
||||
Str8 exe_path = FS_SystemPath(temp.arena, FS_SYSTEM_PATH_EXE);
|
||||
Str8 path = Sf(temp.arena, "%.*s/assets", exe_path);
|
||||
Str8 path = Sf(temp.arena, "%.*s/assets", Sv(exe_path));
|
||||
|
||||
FS_List assets = FS_PathList(temp.arena, path);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user