Glenn Maynard
578c6d5726
simplify singleton registration
2006-09-21 04:42:45 +00:00
Glenn Maynard
e830771ad9
Message_StorageDevicesChanged after UpdateAssignments (usually
...
happens anyway due to message queuing)
2006-07-09 19:53:19 +00:00
Glenn Maynard
580b21d0d3
pass iTimeout
2006-07-09 19:49:14 +00:00
Chris Danford
b1fdcabde7
debug logging
2006-03-29 02:53:01 +00:00
Glenn Maynard
7bc5db6666
This doesn't work: the memory card thread can use Lua, so this
...
deadlocks. Use MemoryCardProfiles instead.
2006-03-26 06:48:45 +00:00
Glenn Maynard
262db5e46d
Add MemoryCardProfiles. This allows enabling memory cards without
...
using them for profiles.
2006-03-26 06:43:35 +00:00
Glenn Maynard
458b31b7db
fix using a different card than was selected by default uses the old one's state (eg. write test error)
2006-03-26 05:11:06 +00:00
Glenn Maynard
6e520a5678
const
2006-03-26 04:52:59 +00:00
Glenn Maynard
f6978880a9
split out UpdateAssignments
2006-03-26 04:51:47 +00:00
Glenn Maynard
830103592a
cleanup
2006-03-26 04:50:33 +00:00
Glenn Maynard
41bfd277a5
cleanup
2006-03-26 04:16:57 +00:00
Glenn Maynard
d37daab68c
move out of PrefsMan
2006-03-26 04:12:17 +00:00
Steve Checkoway
00ddde56ba
Revert.
2006-03-12 23:53:31 +00:00
Steve Checkoway
9a6a581e14
Const.
2006-03-12 23:42:50 +00:00
Chris Danford
7d0ac62982
poll for memory cards in the editor screens even if MemoryCard=0
2006-03-12 07:02:50 +00:00
Chris Danford
7f821e8cfc
CString -> RString
2006-01-22 01:00:06 +00:00
Glenn Maynard
08376fc0f1
WorkerThread -> RageWorkerThread
2005-12-21 06:10:41 +00:00
Glenn Maynard
2efb95aa92
header cleanup
2005-12-21 06:00:18 +00:00
Glenn Maynard
8ceb3e7421
remove FlushAndReset
2005-12-21 05:53:15 +00:00
Glenn Maynard
f1498f38f0
I can't remember any rationale for "UnmountCard should never block",
...
and it does block: umounting a filesystem in Linux will block until
it's flushed.
2005-12-21 05:46:01 +00:00
Glenn Maynard
b01308783e
unused headers
2005-12-19 00:42:29 +00:00
Glenn Maynard
9ff7afe86b
remove unused Reset
2005-12-10 02:35:10 +00:00
Chris Danford
36c7d8e0ed
enum name cleanup
2005-12-01 03:20:25 +00:00
Chris Danford
3b799327fc
finish import/export of edits
2005-11-30 05:33:01 +00:00
Chris Danford
749a8468a9
complete removal of memory card blacklist
2005-11-29 23:13:43 +00:00
Chris Danford
22f1387385
working on edit screens
2005-11-29 08:02:54 +00:00
Chris Danford
74287d4589
remove memory card OS dir blacklist
2005-11-29 05:56:11 +00:00
Chris Danford
299e1f7d68
add memcard blacklist by OsMountDir and UI to disable specific drives
2005-11-27 01:50:10 +00:00
Steve Checkoway
f89319f256
Fix warnings.
2005-10-31 01:55:05 +00:00
Chris Danford
ca8e0c5137
work around bad global constructor order in g++ x86 by not using PlayerNumber. Find a better way to handle this?
2005-10-29 05:42:38 +00:00
Glenn Maynard
a9038f82dd
move memory card prefs into MemoryCardManager
2005-10-27 17:37:59 +00:00
Chris Danford
e00a57e05e
use Preference1D
2005-10-26 23:09:56 +00:00
Chris Danford
7191258c0a
clean up enum Message names so that they match the corresponding strings
2005-08-14 07:29:48 +00:00
Glenn Maynard
e3999565d8
missing include
2005-07-02 22:38:55 +00:00
Glenn Maynard
9bb15367ec
fix warning
2005-05-25 22:14:30 +00:00
Glenn Maynard
82b63a4065
mount memcard filesystems at start, logging
2005-05-22 21:13:46 +00:00
Glenn Maynard
48f74fb55e
add error return from MountCard
2005-05-22 01:44:37 +00:00
Glenn Maynard
4c8c5bea37
Add variable timeouts.
...
After mounting or unmounting a filesystem, flush cache, so we don't keep
stale cache around.
RageFileDriverDirect::Remount could (and should) flush its own cache when
changing root (since the cache represents the old root). However, calling
Remount doesn't indicate that the filesystem has actually changed, so if
the root isn't actually changing (Remount("/mnt") on a filesystem already
pointing to /mnt), the driver can't be expected to flush. (Remount also
currently doesn't go through Timeout, and we need to flush on unmount,
too.) So, take the cheap way out and just flush through FILEMAN.
2005-05-22 01:36:08 +00:00
Glenn Maynard
fe8999ce0a
RageFileManager::GetFileDriver doesn't prepend a slash to mountpoints. instead of hacking it up, fix the mountpoint names ...
2005-05-20 23:44:06 +00:00
Chris Danford
e389ba6191
convert the rest to use Preference
2005-05-16 09:36:32 +00:00
Chris Danford
3a726a1c9b
fix ScreenEnding shows stats when not using a memory card
...
fix other bugs introduced when GetProfile was changed to return a valid pointer even with no profile loaded
2005-05-01 06:42:30 +00:00
Glenn Maynard
904fd6a316
fix first memory card access on startup doesn't time out
2005-04-25 21:07:40 +00:00
Glenn Maynard
30c3578cdc
interface to allow more specific error messages
2005-04-22 05:48:52 +00:00
Glenn Maynard
0d9b7c943a
remove iScsiIndex
2005-04-22 05:24:19 +00:00
Glenn Maynard
85313caf7c
UsbStorageDevice::STATE_WRITE_ERROR -> UsbStorageDevice::STATE_ERROR
2005-04-22 05:15:59 +00:00
Glenn Maynard
27b12d3228
rename MEMORY_CARD_STATE_WRITE_ERROR -> MEMORY_CARD_STATE_ERROR
2005-04-22 04:58:32 +00:00
Chris Danford
fdccf6e416
revert to fix memory card thread
2005-04-05 23:04:59 +00:00
Ben Anderson
d6976dd40c
Don't use a heartbeat in the worker thread. Many platforms' timed event wait functions (most notoriously Linux) spin instead of blocking, causing performance hell (this is the source of the issues recently uncovered by LowLevelWindow_X11). This means we should avoid heartbeats in worker threads whenever possible. Strangely, this also fixed an obscure deadlock on quit...
2005-04-05 02:55:13 +00:00
Ben Anderson
167e5aebc0
Put all the Make* functions into a single .h/.cpp file (yes, kinda like the way it was), and add Make* functions for DialogDrivers. This means there's only one object that's affected by drivers being added/removed. (Driver default changes are a little different -- 2 or 3 objects.) Also one or two minor cleanups. (note: I apparently don't know much about CVS, it appears that some files might not make it into the repository; hang tight, I'm trying to find a solution.)
2005-03-15 00:30:26 +00:00
Glenn Maynard
6c9cc1b273
disable MemoryCardManager::FlushAndReset
2005-02-22 03:58:22 +00:00