Commit graph

241 commits

Author SHA1 Message Date
emukidid
c09b479a7b Fixed multiple SD card ROM loads, also bumped up to 32mhz on the EXI, please place the file customlibs/libsdcard.a into your powerpc-gekko/lib/ dir. also, the rom loading is much faster without the constant closing/opening 2007-12-31 09:44:17 +00:00
tehpola@yahoo.com
d7bda24d44 Added special color to certain menu items and directories in the file browser. menuFileBrowser is now left aligned. Stops user from choosing Play Game before a ROM is loaded. 2007-12-30 23:18:23 +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
sepp256
78d4784cd2 Added GUI load progress bar and GUI toggle functions.
Usage:
call GUI_setLoadProg(percent) to set the bar
 set percent to -1 to not show bar
 set percent from 0~1.0 to show current load percentage

call GUI_toggle() as leaving and re-entering menu to clear the screen and come back to GUI
2007-12-30 21:40:00 +00:00
tehpola@yahoo.com
4163e9ea57 Added check for loading a ROM before a save 2007-12-30 03:11:35 +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
80b3e543bd Menu now responds to input; capable of loading a ROM (SD only method tested) and playing it, exiting back to menu, but not playing anymore; menuFileBrowser should now support directories with more than GUI_TEXT_HEIGHT number of files properly 2007-12-27 08:28:58 +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
tehpola@yahoo.com
42dc38c152 I can't figure out why the input doesn't seem to be working... 2007-12-26 07:54:09 +00:00
sepp256
e13d4ba16d Added a cool splash screen!
Features:
 - analog stick translates the logo
 - C-stick rotates the logo
 - press and release A to skip the splash screen
2007-12-23 08:36:50 +00:00
sepp256
88b49ebce9 Added non-threaded version of the gui to be used with the new main().
Updated gui function calls in the new main().
2007-12-23 00:25:40 +00:00
tehpola@yahoo.com
94eb9eff72 Early (unfinished) new main 2007-12-22 23:49:20 +00:00
sepp256
2047713597 Updated GUI background and logo.
Reformatted GUI and DEBUG text slightly.
2007-12-22 23:33:58 +00:00
emukidid
776589d8a0 Added fileBrowser-DVD.c, also enabled the fileBrowser stuff in the GX makefile 2007-12-19 01:12:33 +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
e95f07a8b4 Simplified debug printing system 2007-12-14 00:30:48 +00:00
emukidid
aefd89f797 Check wiki for more info, this was a compiler warning fixup commit 2007-12-13 08:47:27 +00:00
sepp256
485a206fd6 Changed system font to be used as a texture for GUI, FPS, and DEBUG.
Fixed syntax error in DEBUG.c ln 85.
DEBUG_print doesn't seem to work because DEBUG_text seems to be all NULLs or empty strings.
Once DEBUG_print works, I'll make changes so that DEBUG is updated each VI.  Currently, DEBUG is updated every time a gfx list is executed.
2007-11-29 19:29:21 +00:00
emukidid
657f834a22 Forgot to get rid of a debugging printf I had left in there 2007-10-31 12:49:57 +00:00
emukidid
54bdf7d49e reloading of ROMS from ANY device now works 100%.. it seems no one was resetting the ARQ.. so i added ARQ_Reset() every time we init the ROM_Cache. Yay now I can test lots :P 2007-10-31 10:01:46 +00:00
emukidid
2930bb2492 Now detects if the emu is running on a Wii or a GC.. I did this because there are issues with the DVD_Mount() function on a Wii, but I still have some ARAM problems when trying to reload a ROM from DVD.. 2007-10-31 08:36:48 +00:00
tehpola@yahoo.com
572ea86623 Definitely not my day, this might fix the bug, but I don't know how it compiled before 2007-10-31 05:13:23 +00:00
tehpola@yahoo.com
8122c7164a Another bug, I forgot to wait for the button to be released. 2007-10-31 04:46:52 +00:00
tehpola@yahoo.com
249564a2eb Added Enable Audio? Prompt to main 2007-10-31 04:31:26 +00:00
emukidid
25b7b6f450 Fixed DVD loading, the cause was that a local var was overridden the introduction of a new global variable with the same name. Also threw in OoT disc support ;) 2007-10-30 14:37:51 +00:00
sepp256
b5ddd522e1 Fixed the culling problem in game when using the GUI.
Fixed the textfilebrowser to display the correct number of lines and look nice.  A parameter now specifies the number of lines that fit on the screen.
2007-10-25 06:38:27 +00:00
sepp256
08eef29b5c Added 3D logo for gui.
Note that there is an issue with GX stalling when main() is busy.  However, I've worked around this for now so that only the 3D logo freezes.  I'll work more on this problem later.
Also, GUI_print still needs to be fixed.

Enjoy the GUI eye candy!  (Hint: try the C stick *wink*)
2007-10-23 04:39:37 +00:00
emukidid
bb1b8d4e09 added: If ROM loaded from DVD and it all fit into memory, then stop the DVD motor ;) 2007-10-18 11:40:59 +00:00
sepp256
b053ef8a68 Redesigned GUI so that it is now threaded.
There are bugs remaining in GUI_print:
1 - a string is not printed if ends in '\n' (I changed TEXT.c to add 1 to num_lines as a temporary fix
2 - the NULL char is not written at the end of a string, so that garbage text is shown from previous GUI_print calls
3 - the textptrs is also not sorted properly
2007-10-18 08:07:12 +00:00
tehpola
06b102b3ac Couple silly bugs when I was adding in GUI stuff 2007-10-17 21:50:52 +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
sepp256
df7c0596ce This update includes the GX part of the GUI. I also changed some parameters in GUI and DEBUG functions. In order to display GUI for testing, uncomment the last 2 lines in main_gc.c. Also, be sure to check out the new Makefile if things don't compile. font.o is now a part of the main module. 2007-10-17 14:55:40 +00:00
emukidid
1c10a69feb eeprom saving to memcards fixed 2007-10-08 14:00:35 +00:00
sepp256
4526c64357 Added Load Progress Bar. 2007-10-06 08:45:52 +00:00
tehpola@yahoo.com
fa91b58ad0 ROM-Cache support for gfx load progress indicator 2007-10-06 05:51:26 +00:00
sepp256
8359656ee2 Fixed starry screen on go.
Now switch to xfb[0] when saving.
2007-10-06 05:42:21 +00:00
emukidid
804a860068 DVD ROM Loading missing files added 2007-10-06 02:42:12 +00:00
emukidid
ba6022b48d DVD ROM Loading 2007-10-06 02:41:23 +00:00
sepp256
81cfbcb6cc This revision includes initial GX graphics. I'm still adding a lot, so the structure of the GX plug-in code will change in the near future. To compile for GX, use Makefile.GX_gfx. I am not able to test at the moment, so let me know if this revision breaks anything or if the GX plugin does not work. 2007-10-02 21:17:15 +00:00
tehpola@yahoo.com
1c193cc77a Initial Import 2007-09-01 18:57:11 +00:00