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

Function SetHexEditorAddress

src/drivers/win/memview.cpp:315–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315void SetHexEditorAddress(int gotoaddress)
316{
317
318 if (gotoaddress < 0)
319 gotoaddress = 0;
320 if (gotoaddress > (MaxSize-1))
321 gotoaddress = (MaxSize-1);
322
323 CursorStartAddy = gotoaddress;
324 CursorEndAddy = -1;
325 ChangeMemViewFocus(EditingMode, CursorStartAddy, -1);
326}
327
328static void FlushUndoBuffer(){
329 struct UNDOSTRUCT *tmp;

Callers 2

GotoAddressFunction · 0.85
CheatConsoleCallBFunction · 0.85

Calls 1

ChangeMemViewFocusFunction · 0.85

Tested by

no test coverage detected