@@ -55,7 +55,6 @@ public partial class UAE : WaterboxCore
55
55
private bool _nextDrivePressed ;
56
56
private int _correctedWidth ;
57
57
private string _chipsetCompatible = "" ;
58
- private string GetFullName ( IRomAsset rom ) => rom . Game . Name + rom . Extension ;
59
58
60
59
public override int VirtualWidth => _correctedWidth ;
61
60
@@ -219,7 +218,7 @@ protected override LibWaterboxCore.FrameInfo FrameAdvancePrep(IController contro
219
218
}
220
219
else
221
220
{
222
- CoreComm . Notify ( $ "Ejected drive FD{ _currentDrive } : { GetFullName ( _roms [ _driveSlots [ _currentDrive ] ] ) } ", _messageDuration ) ;
221
+ CoreComm . Notify ( $ "Ejected drive FD{ _currentDrive } : { Path . GetFileName ( _roms [ _driveSlots [ _currentDrive ] ] . RomPath ) } ", _messageDuration ) ;
223
222
_driveSlots [ _currentDrive ] = _driveNullOrEmpty ;
224
223
}
225
224
}
@@ -241,7 +240,7 @@ protected override LibWaterboxCore.FrameInfo FrameAdvancePrep(IController contro
241
240
}
242
241
}
243
242
_driveSlots [ _currentDrive ] = _currentSlot ;
244
- CoreComm . Notify ( $ "Insterted drive FD{ _currentDrive } : { GetFullName ( _roms [ _driveSlots [ _currentDrive ] ] ) } ", _messageDuration ) ;
243
+ CoreComm . Notify ( $ "Insterted drive FD{ _currentDrive } : { Path . GetFileName ( _roms [ _driveSlots [ _currentDrive ] ] . RomPath ) } ", _messageDuration ) ;
245
244
}
246
245
}
247
246
@@ -252,7 +251,7 @@ protected override LibWaterboxCore.FrameInfo FrameAdvancePrep(IController contro
252
251
_currentSlot ++ ;
253
252
_currentSlot %= _roms . Count ;
254
253
var selectedFile = _roms [ _currentSlot ] ;
255
- CoreComm . Notify ( $ "Selected slot { _currentSlot } : { GetFullName ( selectedFile ) } ", _messageDuration ) ;
254
+ CoreComm . Notify ( $ "Selected slot { _currentSlot } : { Path . GetFileName ( selectedFile . RomPath ) } ", _messageDuration ) ;
256
255
}
257
256
}
258
257
@@ -269,7 +268,7 @@ protected override LibWaterboxCore.FrameInfo FrameAdvancePrep(IController contro
269
268
}
270
269
else
271
270
{
272
- name = GetFullName ( _roms [ _driveSlots [ _currentDrive ] ] ) ;
271
+ name = Path . GetFileName ( _roms [ _driveSlots [ _currentDrive ] ] . RomPath ) ;
273
272
}
274
273
CoreComm . Notify ( $ "Selected drive FD{ _currentDrive } : { name } ", _messageDuration ) ;
275
274
}
0 commit comments