mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-14 04:49:41 -07:00
eliminate unnecessary info in debug engine entity abstraction / demon events; adjust symbol server / debug info loading such that the debug info loader is the one who decides to kick off downloads based on presence in cache path; use cache path as key, unpack info for download requests
This commit is contained in:
1 parent
b22f9f2d8b
commit
132751777f
19 files changed
+199
-318
No files matched your search
@@ -680,16 +680,22 @@ di_async_tick(void)
|
||||
}
|
||||
}
|
||||
|
||||
//- rjf: check with the symbol server to see if we are actively downloading O.G.
|
||||
//- rjf: kick off symbol server download, or check to see if we are actively downloading O.G.
|
||||
B32 og_is_downloading = 0;
|
||||
{
|
||||
B32 file_is_present = (properties_from_file_path(og_path).modified != 0);
|
||||
if(!file_is_present)
|
||||
{
|
||||
SMSV_Status status = smsv_status_from_local_path(og_path);
|
||||
if(status == SMSV_Status_Pending)
|
||||
String8 symbol_cache_path = smsv_cache_path();
|
||||
if(str8_match(symbol_cache_path, og_path, StringMatchFlag_RightSideSloppy|StringMatchFlag_SlashInsensitive))
|
||||
{
|
||||
og_is_downloading = 1;
|
||||
smsv_fill_local_path(og_path);
|
||||
SMSV_Status status = smsv_status_from_local_path(og_path);
|
||||
if(status == SMSV_Status_Null)
|
||||
{
|
||||
og_is_downloading = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -140,7 +140,6 @@ struct DI_LoadTask
|
||||
B32 og_analyzed;
|
||||
B32 og_is_rdi;
|
||||
U64 og_size;
|
||||
B32 og_is_downloading;
|
||||
|
||||
B32 rdi_analyzed;
|
||||
B32 rdi_is_stale;
|
||||
|
||||
Reference in new issue
Block a user