MCPcopy Create free account
hub / github.com/TASEmulators/fceux / TakeOutSpaces

Function TakeOutSpaces

src/drivers/win/memwatch.cpp:382–394  ·  view source on GitHub ↗

replaces spaces with a dummy character

Source from the content-addressed store, hash-verified

380
381//replaces spaces with a dummy character
382static void TakeOutSpaces(int i)
383{
384 int j;
385 for(j=0;j<ADDRESSLENGTH;j++)
386 {
387 if(addresses[i][j] == ' ') addresses[i][j] = '|';
388 if(labels[i][j] == ' ') labels[i][j] = '|';
389 }
390 for(;j<LABELLENGTH;j++)
391 {
392 if(labels[i][j] == ' ') labels[i][j] = '|';
393 }
394}
395
396//replaces dummy characters with spaces
397static void PutInSpaces(int i)

Callers 2

SaveMemWatchFunction · 0.85
QuickSaveMemWatchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected