mirror of
https://github.com/LIV2/WinUAE.git
synced 2025-12-06 00:12:52 +00:00
Only check deeper archive path if inserted in floppy drive
This commit is contained in:
parent
89faf8e36a
commit
8444681360
@ -22519,8 +22519,9 @@ int dragdrop (HWND hDlg, HDROP hd, struct uae_prefs *prefs, int currentpage)
|
||||
if (type == ZFILE_ROM) {
|
||||
rd = getromdatabyzfile (z);
|
||||
}
|
||||
// replace with decrunched path but only if decrunched path is deeper (longer)
|
||||
if (type > 0 && _tcslen(z->name) > _tcslen(file)) {
|
||||
// replace with decrunched path but only if
|
||||
// floppy insert and decrunched path is deeper (longer)
|
||||
if (type > 0 && _tcslen(z->name) > _tcslen(file) && drv >= 0) {
|
||||
_tcscpy(filepath, z->name);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user