Skip to content

Commit fd285d0

Browse files
authored
Fixed issue where layer_break for dual layer DVDs was not being set, as well as the startup_elf. (#78)
1 parent 9ca106f commit fd285d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hdl_dump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1085,7 +1085,7 @@ inject(const dict_t *config,
10851085
memmove(game.name, name, sizeof(game.name) - 1);
10861086
game.name[sizeof(game.name) - 1] = '\0';
10871087
game.layer_break = 0;
1088-
if (strcmp(&input[sizeof(input) - 4], ".zso") == 0) {
1088+
if (strcmp(&input[strlen(input) - 4], ".zso") != 0) {
10891089
result = isofs_get_ps2_cdvd_info(iin, &info);
10901090
if (result == RET_OK)
10911091
if (info.layer_pvd != 0)

0 commit comments

Comments
 (0)