mirror of
https://github.com/dborth/fceugx.git
synced 2024-10-31 22:45:05 +01:00
move savebuffer on gamecube from ARAM to MEM1. fixes browser game images
not working on gamecube.
This commit is contained in:
parent
f973738e5b
commit
1cbf014667
@ -410,12 +410,11 @@ int main(int argc, char *argv[])
|
||||
DefaultSettings(); // Set defaults
|
||||
InitialiseAudio();
|
||||
InitFreeType((u8*)font_ttf, font_ttf_size); // Initialize font system
|
||||
savebuffer = (unsigned char *)memalign(32,SAVEBUFFERSIZE);
|
||||
#ifdef USE_VM
|
||||
savebuffer = (unsigned char *)vm_malloc(SAVEBUFFERSIZE);
|
||||
browserList = (BROWSERENTRY *)vm_malloc(sizeof(BROWSERENTRY)*MAX_BROWSER_SIZE);
|
||||
nesrom = (unsigned char *)vm_malloc(1024*1024*4);
|
||||
#else
|
||||
savebuffer = (unsigned char *)memalign(32,SAVEBUFFERSIZE);
|
||||
browserList = (BROWSERENTRY *)memalign(32,sizeof(BROWSERENTRY)*MAX_BROWSER_SIZE);
|
||||
nesrom = (unsigned char *)memalign(32,1024*1024*4);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user