Commit graph

101 commits

Author SHA1 Message Date
tehpola
cc3c249cff Consilidated memory LUTs into one memory LUT which points to smaller
LUTs for read/write byte/hword/word/double.  Saved substantial amount of 
memory.
2009-02-23 18:47:42 +00:00
emukidid
d312cc5df7 Code tidy up - ROM_SETTINGS.goodname is now trimmed once, not every time it's needed. Also removed useless prints from rom_gc.c 2008-11-20 01:38:55 +00:00
emukidid
81f0d52cc6 Removed more compiler warnings, removed VCR files, if we do implement that later on, just grab them from PC source. 2008-09-11 05:06:28 +00:00
emukidid
6ee88c6612 Moved TLB dumping to separate functions. Made TLB cache LUT's static once again 2008-08-12 12:53:07 +00:00
emukidid
08238a2be2 TLB LUT clearing on Init since they are no longer statically allocated as NULL initialised arrays. 2008-08-09 00:42:13 +00:00
emukidid
490feea15d fixed multiple declaration of tlb luts 2008-08-08 23:31:17 +00:00
emukidid
bef9c0c5fb TLB Saving/Loading in savestates, tested it on a handful of ROMS and it seems to work 2008-08-08 13:21:51 +00:00
emukidid
82a6085f3b Mempaks should format every time a new game is loaded (to avoid Corrupt Mempak warnings) 2008-07-06 06:08:51 +00:00
emukidid
7321c40a61 the 0x40/0x80 loops make a difference for us since we define 4mb sometimes 2008-06-15 12:43:03 +00:00
emukidid
8c4a299693 4mb fix now works on more games 2008-06-15 12:38:39 +00:00
emukidid
007578b1b7 tlb mem2 pointer fixup 2008-06-08 15:44:10 +00:00
emukidid
4757ba1012 TLB MEM2 clearing for every new game loaded 2008-06-08 14:42:04 +00:00
emukidid
fc3d1c61ee -DUSE_TLB_CACHE added to all makefiles, you can remove it to use the MEM2 uncached version but obviously only on Wii. We later should change it to be malloc'd from MEM2 but for now it's fine. 2008-06-06 13:42:48 +00:00
emukidid
fb0c399f0d 4mb fix for some games, star wars ep1 racer, excitebike, and many more (still perfect dark and conkers are not working and excitebike crashes) 2008-06-03 05:34:45 +00:00
emukidid
4598524e0c removed sdcard.h and fixed sdcard in debug.c, also had to comment out two things in wrappers.s 2008-05-23 04:41:55 +00:00
emukidid
da5b59c972 Compiler warnings fixed in gc_memory, gc_audio, gc_input 2008-05-15 01:49:11 +00:00
emukidid
96cbff7d60 quick first-pass attempt at DEBUG_stats, see /gui/DEBUG.c and /gui/DEBUG.h 2008-05-07 05:31:28 +00:00
sepp256
6f43450146 Added -DUSE_EXPANSION compiler flags to memory.c/.h and to glN64_GX.
- Untested.
Updated glN64 Makefiles.
2008-04-22 22:52:06 +00:00
emukidid
4aa743b07a Note to self about how to save some space if we need it 2008-04-03 14:33:43 +00:00
emukidid
156cc5f151 Oops, I'd made a mistake when commenting. 2008-04-03 08:15:20 +00:00
emukidid
3ec188b32e Cleaned up the save methods to remove the old ones (pre fileBrowser days) and also remove printf's that might've come up 2008-04-03 07:13:05 +00:00
emukidid
30b97644f7 Un-commented the Read_Nothing special case due to it not making any speed improvements disabled 2008-04-03 06:41:02 +00:00
emukidid
eee4ebb127 Memory Free Checking added (every 5 secs of VI's). Doesn't seem to slow down much at all. 2008-04-03 06:39:34 +00:00
emukidid
c271fa6f56 Commented out the controller printfs 2008-04-03 00:45:33 +00:00
sepp256
0fd14c9e49 Added initial port of glN64 gfx plugin to GX.
Small fixes to the DEBUG, font, gui.
Added GDB code for DEBUGON flag. (Works fine if you init after ROM load.)
2008-04-02 05:32:08 +00:00
emukidid
362890673e Now we're really running 4mb Jumper Pak only 2008-04-02 05:19:49 +00:00
tehpola
84b1249a90 Added space in MEM2 for the loader. 2008-03-20 16:14:46 +00:00
tehpola@yahoo.com
937c4f2156 Adding MEM2 header to define ownership of chunks of MEM2: currently ROMCache and TexCache have 32MB and 16MB respectively with a few MB unclaimed. 2008-02-25 00:59:08 +00:00
emukidid
85eff4b185 still there are issues with loading from memcard then trying to save to sd card.. this is fine if you update something in the game then go to save. Not a big issue. 2007-12-31 12:52:15 +00:00
emukidid
57e5b52eb1 my mistake, what i said in the last svn comments should now work.. 2007-12-31 12:38:04 +00:00
emukidid
295a057d97 the eepromWritten,flashramWritten now say that they have written if we successfully load a save before the game wants to save. this is done so we can load from sdcard and then save to sdcard without having to progress in the game.. 2007-12-31 12:34:25 +00:00
emukidid
0c95bc7b78 Fixed memory cards loading and saving, tested with .mpk, .eep etc, its all fine now :) 2007-12-31 12:29:52 +00:00
tehpola@yahoo.com
8dbfd8f016 Fixed bug that screwed up loading save games. 2007-12-31 08:48:35 +00:00
tehpola@yahoo.com
96f429ad6a Save games now attempt to load (but seem corrupted). 2007-12-31 08:16:34 +00:00
tehpola@yahoo.com
1ce2e6aef3 Progress bar displays when loading a ROM. Screen is blanked when play game is selected. 2007-12-30 22:09:54 +00:00
tehpola@yahoo.com
102081af17 Added feedback whether load/save game was successful or not 2007-12-30 21:46:29 +00:00
emukidid
369ed05be1 dma.c save name also, and made the code clearer ' ' 2007-12-30 03:08:27 +00:00
emukidid
2581953cc5 Save file names should now have the extra spaces from the end of their names deleted. (Untested), Also put isWii into the gc_main-menu.c 2007-12-30 01:50:18 +00:00
tehpola@yahoo.com
3d7001bd51 Committing the new code (menu, file browser) although it still doesn't work properly 2007-12-26 23:54:30 +00:00
emukidid
08efc6c658 Fixed up init/deinit for DVD and CARD, also moved the var SysArea and the function card_removed_cb into fileBrowser-CARD.c and made them externs in Save-Prompt.c since it'll be removed soon enough 2007-12-24 06:23:35 +00:00
emukidid
d0ec47fec7 Removed some more compiler warnings (added that signed char in MIPS-to-PPC.c), added debug prints to pif,flashram and cache load blocks 2007-12-17 02:10:59 +00:00
emukidid
aefd89f797 Check wiki for more info, this was a compiler warning fixup commit 2007-12-13 08:47:27 +00:00
tehpola
4e886ae3dc Fixed issue where it would think that a game has something to save because the previous game running did. 2007-10-31 23:15:51 +00:00
tehpola@yahoo.com
6b33f66dd7 Added support for GUI for most stuff that's using the text UI 2007-10-17 20:39:24 +00:00
tehpola
09bfb74eb0 Fixed and confirmed working (at least for Mario) TLB-Cache-hash 2007-10-17 18:56:01 +00:00
tehpola@yahoo.com
791e7360cb Fixed hash calculation (hopefully) and I had forgotten to actually set in the set function. 2007-10-17 17:09:57 +00:00
tehpola@yahoo.com
e8a0f62251 Bug fixes for TEXT.c and TLB-Cache-hash.c 2007-10-17 15:26:44 +00:00
tehpola@yahoo.com
c8bf4b44f8 TLB-Cache-hash added (TLB_LUT using a hash map in MRAM) 2007-10-17 15:08:28 +00:00
emukidid
2a9f622f75 forgot to add .h file 2007-10-09 01:49:04 +00:00
emukidid
1c10a69feb eeprom saving to memcards fixed 2007-10-08 14:00:35 +00:00