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

Function SaveStrings

src/drivers/win/memwatch.cpp:371–379  ·  view source on GitHub ↗

Save labels/addresses so next time dialog is opened, you don't lose what you've entered.

Source from the content-addressed store, hash-verified

369//Save labels/addresses so next time dialog is opened,
370//you don't lose what you've entered.
371static void SaveStrings()
372{
373 int i;
374 for(i=0;i<MWNUM;i++)
375 {
376 GetDlgItemText(hwndMemWatch,MW_ADDR[i],addresses[i],ADDRESSLENGTH);
377 GetDlgItemText(hwndMemWatch,MW_NAME[i],labels[i],LABELLENGTH);
378 }
379}
380
381//replaces spaces with a dummy character
382static void TakeOutSpaces(int i)

Callers 3

SaveMemWatchFunction · 0.85
QuickSaveMemWatchFunction · 0.85
CloseMemoryWatchFunction · 0.85

Calls 1

GetDlgItemTextFunction · 0.85

Tested by

no test coverage detected