Glenn Maynard
cd060ef6d6
remove overload that doesn't allow error checking--makes it too easy to be lazy
2004-06-06 21:06:03 +00:00
Glenn Maynard
ae99f03a4b
error check
2004-06-06 21:04:48 +00:00
Chris Danford
fa114e148a
use PlayerNumber macros
2004-06-06 20:57:13 +00:00
Glenn Maynard
9762c6583f
error checking
2004-06-06 20:56:46 +00:00
Glenn Maynard
d044b29ca4
error checking
2004-06-06 20:47:48 +00:00
Steve Checkoway
d7e4964cf6
fix warning
2004-06-06 20:27:52 +00:00
Glenn Maynard
c3d9e8883c
fix comment
2004-06-06 20:24:25 +00:00
Glenn Maynard
beab9555e2
no they don't
2004-06-06 20:22:56 +00:00
Glenn Maynard
a0bfd8840e
read error handling
2004-06-06 20:21:50 +00:00
Chris Danford
f8c71ef85c
fix possible AVs
2004-06-06 20:18:50 +00:00
Chris Danford
f537c14175
fix AV on switch from arcade to nonstop
2004-06-06 20:08:11 +00:00
Glenn Maynard
565f9b364c
fix error handling
2004-06-06 20:01:19 +00:00
Chris Danford
9ac44498fe
fix AV on switch from arcade to nonstop
2004-06-06 19:43:31 +00:00
Glenn Maynard
0593be0b41
fs root paths always end with a slash
2004-06-06 19:21:50 +00:00
Chris Danford
342dc5d792
fix needless refreshes or devices
2004-06-06 18:56:33 +00:00
Chris Danford
b95c21c234
fix forced redetect of cards
2004-06-06 18:47:24 +00:00
Chris Danford
8eb7550bf4
fix forced redetect of cards
2004-06-06 18:39:40 +00:00
Chris Danford
9d2c6d078a
clean up formatting
2004-06-06 18:37:57 +00:00
Thad Ward
da10ebd869
fix compile error. (from VC6 anyway)
2004-06-06 11:34:26 +00:00
Chris Danford
b13b4fa221
fix RageFileSink error handling
2004-06-06 08:34:58 +00:00
Glenn Maynard
349acbd121
don't log point/line info
2004-06-06 08:11:36 +00:00
Glenn Maynard
811845d38b
don't log the GUID; it's not useful
2004-06-06 08:10:22 +00:00
Glenn Maynard
d84fa85bb1
try to log audio driver file versions
2004-06-06 07:23:15 +00:00
Glenn Maynard
f18d876571
update
2004-06-06 07:20:55 +00:00
Glenn Maynard
88ed052924
GetFileVersion, FindSystemFile helpers
2004-06-06 07:19:01 +00:00
Glenn Maynard
fe22f570d2
cleanup
2004-06-06 07:17:50 +00:00
Chris Danford
9fe771756c
add logging
2004-06-06 06:54:08 +00:00
Chris Danford
8889e84f11
fix silly mistake
2004-06-06 05:39:41 +00:00
Glenn Maynard
32893f5b63
better error message
2004-06-06 05:37:25 +00:00
Glenn Maynard
04ed5bf1ed
fix spurious assist ticks at start of Play
2004-06-06 05:28:58 +00:00
Glenn Maynard
c37a29ac53
fix DontShare.sig not being written the first time a profile is saved
2004-06-06 05:17:12 +00:00
Glenn Maynard
6f7d0f5686
more debugging
2004-06-06 05:14:00 +00:00
Glenn Maynard
b115a685d9
only count g_TotalAhead when we're ahead
2004-06-06 05:02:39 +00:00
Glenn Maynard
dc76bcfbba
track Mix() call count for previous IOproc and last few Mix() durations
2004-06-06 04:33:25 +00:00
Glenn Maynard
9cb17abd2a
try to keep API boundaries passing frames, instead of bytes
2004-06-06 04:25:36 +00:00
Glenn Maynard
ee344530aa
only realloc if the buffer needs to be bigger; having a buffer that's too
...
big is OK
2004-06-06 04:21:39 +00:00
Glenn Maynard
ddd0362144
use usleep
2004-06-06 04:07:00 +00:00
Glenn Maynard
2472ca9979
debugging
2004-06-06 03:23:08 +00:00
Chris Danford
110ec3d331
synchronize access to memory cards between mounting thread and main thread Profile Load/Save
2004-06-06 02:41:16 +00:00
Glenn Maynard
5c7dd115ad
fix Song::GetSteps
2004-06-06 02:08:48 +00:00
Glenn Maynard
69d330eff5
add m_bMemoryCards
2004-06-06 01:50:21 +00:00
Glenn Maynard
a5eed9dfa5
vc6 workaround
2004-06-06 01:48:53 +00:00
Chris Danford
32b703fd17
add logging
2004-06-05 19:40:53 +00:00
Glenn Maynard
99e11714e5
Keep steps by StepsType, to speed up the common case of searching by
...
it. Catalog writing (still for only one course) down to .381s; still too much
time to be spending for one course on every load. I'd make catalog writing
only happen if something has changed, but that would mean introducing
some form of course caching, which I'd rather avoid ...
2004-06-05 08:36:21 +00:00
Glenn Maynard
1246e086f2
Only create autogen steps pointers if steps autogen is enabled. This fixes
...
random courses taking too long to generate with autogen disabled: it has
to iterate over *all* steps (including the unused autogen steps); when
outputting the catalog, this means it has to iterate over every song once
per random course line per steps type per course difficulty. (test case
of one 9-random-entry course with autogen off: ~10 seconds -> ~1.5 seconds;
still too much)
2004-06-05 08:20:07 +00:00
Glenn Maynard
398eb05fcb
call SONGMAN->SetPreferences when PREFSMAN->m_bAutogenSteps
...
changes
2004-06-05 08:11:00 +00:00
Glenn Maynard
1eab5c9f1d
add SongManager::SetPreferences
2004-06-05 08:08:42 +00:00
Glenn Maynard
10ef60e6ce
optimize Song::GetStepsByDifficulty and Song::GetStepsByMeter
2004-06-05 07:55:40 +00:00
Glenn Maynard
f887354214
fix Song::FreeAllLoadedFromProfiles
2004-06-05 07:51:40 +00:00
Glenn Maynard
6c93aebe04
remove m_bChangedSinceSave
2004-06-05 07:49:21 +00:00