Difference between revisions of "LoadVRAM 1"

From WikiPrizm
Jump to navigationJump to search
 
Line 4: Line 4:
 
| signature = ''void'' '''LoadVRAM_1'''(''void'')
 
| signature = ''void'' '''LoadVRAM_1'''(''void'')
 
| header = fxcg/display.h
 
| header = fxcg/display.h
| synopsis = Loads the previously saved [[VRAM]] data back. Use [[SaveVRAM_1]] to save the [[VRAM]].
+
| synopsis = Loads the previously saved [[VRAM]] data back from the address pointed to by [[GetSecondaryVramAddress]]. Use [[SaveVRAM_1]] to save the [[VRAM]].
 
| comments = Since the process of switching from the Main Menu back into the running app calls this function, you won't be able to restore your VRAM contents when the Main Menu is opened. If you call this syscall after the Main process has overwritten the SaveVRAM_1 buffer, nothing will be restored (there appears to be some intelligence controlling whether the buffer has been modified since your last call to SaveVRAM_1).
 
| comments = Since the process of switching from the Main Menu back into the running app calls this function, you won't be able to restore your VRAM contents when the Main Menu is opened. If you call this syscall after the Main process has overwritten the SaveVRAM_1 buffer, nothing will be restored (there appears to be some intelligence controlling whether the buffer has been modified since your last call to SaveVRAM_1).
 
}}
 
}}

Latest revision as of 11:28, 27 March 2015


Synopsis

Header: fxcg/display.h
Syscall index: 0x1E63
Function signature: void LoadVRAM_1(void)

Loads the previously saved VRAM data back from the address pointed to by GetSecondaryVramAddress. Use SaveVRAM_1 to save the VRAM.

Comments

Since the process of switching from the Main Menu back into the running app calls this function, you won't be able to restore your VRAM contents when the Main Menu is opened. If you call this syscall after the Main process has overwritten the SaveVRAM_1 buffer, nothing will be restored (there appears to be some intelligence controlling whether the buffer has been modified since your last call to SaveVRAM_1).