Commit Graph
211 Commits
Author SHA1 Message Date
Steve Checkoway bc5582d639 Fix memory leak. 2006-01-08 00:28:17 +00:00
Steve Checkoway 3608694a18 Do memory card stuff (more) correctly. 2006-01-08 00:23:33 +00:00
Glenn Maynard b2cec2d787 build fix 2006-01-04 18:09:39 +00:00
Glenn Maynard 37af3d7b37 build fix 2006-01-04 17:46:29 +00:00
Glenn Maynard 4671102354 cleanup 2005-12-24 07:36:27 +00:00
Glenn Maynard e7e136566b no, seriously, save to disk 2005-12-24 06:07:39 +00:00
Glenn Maynard 0a087099b6 fix possible crash if GetVolumeInformation fails: szVolumeNameBuffer would
be uninitialized
2005-12-24 06:06:45 +00:00
Glenn Maynard 635434ea17 fix for confusingly similar error codes
do log when the file already exists
2005-12-24 03:16:20 +00:00
Glenn Maynard b923d82f90 cleanup 2005-12-24 03:10:22 +00:00
Glenn Maynard 53800b79a3 try to avoid writing to the device to do a wirte check 2005-12-24 03:09:33 +00:00
Glenn Maynard 33f7552be5 fix potential crash if QueryDosDevice fails, or returns more data than expected 2005-12-24 02:37:06 +00:00
Glenn Maynard 5ce5dc5060 simplify 2005-12-24 02:32:55 +00:00
Glenn Maynard 99d586c5a9 attempt to flush memory cards on unmount 2005-12-24 02:08:17 +00:00
Glenn Maynard bdf5a3b924 Remove MemoryCardDriver::Flush. Flush in Unmount instead. 2005-12-21 05:58:01 +00:00
Chris Danford d698a5f1ec CString -> RString in RageUtil
ThemeMetric<CString> -> LocalizedString to eliminate dependencies
2005-12-20 08:35:47 +00:00
Chris Danford efe3984ad5 detect changing USB joysticks and remap on the fly 2005-12-18 07:13:13 +00:00
Glenn Maynard bbf140a906 cleanup 2005-12-10 17:57:11 +00:00
Steve Checkoway 43066e5cb1 Only rebuild the removable device list when it changes. 2005-12-10 08:41:16 +00:00
Glenn Maynard 21a2900776 remove compat virtual 2005-12-10 07:39:31 +00:00
Steve Checkoway f91fb3b574 Missed a file. 2005-12-10 07:34:01 +00:00
Steve Checkoway 11aacd82a7 OS X memory card driver. 2005-12-10 07:14:09 +00:00
Glenn Maynard 16996cd095 update, cleanup 2005-12-10 02:36:32 +00:00
Glenn Maynard 9ff7afe86b remove unused Reset 2005-12-10 02:35:10 +00:00
Glenn Maynard 7d79d35841 cleanup 2005-12-10 02:29:33 +00:00
Glenn Maynard d6d6965e71 member, not static 2005-12-10 02:28:44 +00:00
Glenn Maynard dc1d91fa3e remove unused 2005-12-10 02:27:24 +00:00
Glenn Maynard f5aa8fdd27 comments 2005-12-10 02:21:11 +00:00
Glenn Maynard 4448fb5a5a update 2005-12-10 02:19:00 +00:00
Glenn Maynard 04ffb1657f comments, fixes 2005-12-10 02:14:06 +00:00
Glenn Maynard 03708b636a firming up this API: USBStorageDevicesChanged is "calling
GetUSBStorageDevices may return different devices"; calling
it twice in a row should have the same result
2005-12-10 02:11:34 +00:00
Glenn Maynard cdb44c71be not "new" 2005-12-10 02:08:26 +00:00
Glenn Maynard 39535c11e5 move common high-level device checking logic into base class:
- report STATE_CHECKING when a device is first seen, so "checking" shows up quickly
 - read quick profile data once bMount is true
2005-12-10 02:07:30 +00:00
Glenn Maynard bd6b59df43 sync with Linux 2005-12-10 01:49:01 +00:00
Glenn Maynard 7bf4380fb5 reuse Mount and Unmount 2005-12-10 01:46:58 +00:00
Glenn Maynard ad7ee70346 fix error 2005-12-10 01:46:17 +00:00
Glenn Maynard 3f27a018b3 nudge closer to Windows driver 2005-12-10 01:42:49 +00:00
Glenn Maynard 8896e8b664 cleanup 2005-12-10 01:40:19 +00:00
Glenn Maynard 03ba527b58 remove unused vConnects 2005-12-10 01:37:28 +00:00
Glenn Maynard a46a80ba3c refactor to look more like the Linux driver 2005-12-10 01:36:15 +00:00
Glenn Maynard e94119a957 break out MemoryCardDriverThreaded_Windows::GetUSBStorageDevices 2005-12-10 01:24:11 +00:00
Glenn Maynard 908e60fc0a don't make an extra copy 2005-12-10 01:19:53 +00:00
Glenn Maynard 3751c6dc88 revert last 2005-12-10 01:11:12 +00:00
Glenn Maynard cc5798a416 simplify 2005-12-10 01:05:58 +00:00
Glenn Maynard 48a313372b don't log non-removable drives 2005-12-10 01:04:16 +00:00
Glenn Maynard db4cc8df2e Floppy drives can be reassigned, and other things can end up on A: and B:. Check the actual device type. 2005-12-10 00:36:34 +00:00
Glenn Maynard 9dc6b7366a cleanup 2005-12-09 23:54:18 +00:00
Glenn Maynard a6414302b6 cleanup 2005-12-06 21:54:23 +00:00
Glenn Maynard a4c0b8e963 Test writable without writing a file. This reduces the chance of corruption: merely mounting a device should not write to it. 2005-12-06 21:53:47 +00:00
Chris Danford 5a2c4504f2 add volume size 2005-12-04 09:02:40 +00:00
Chris Danford 299e1f7d68 add memcard blacklist by OsMountDir and UI to disable specific drives 2005-11-27 01:50:10 +00:00