sepp256
138fe77586
Fixed clipping in Mario Kart. Let me know if you see other scissoring problems.
2009-11-09 06:09:27 +00:00
sepp256
df9e563329
Fixed background color in Mario Kart after playing Mario64 in castle.
2009-11-08 05:25:32 +00:00
sepp256
e115f9b99f
Added a little more GX cleanup before FPS display. Seems to have stopped the FPS flashing in Zelda OOT.
2009-11-08 05:25:12 +00:00
sepp256
6234c39e0c
Moved load icon further toward the corner as per tehpola's suggestion.
2009-11-06 06:14:23 +00:00
sepp256
e52726e4fb
Added new button styles.
...
Added backdrop.
Added spinning logo.
Added ROM Load icon.
Various code cleanup.
2009-11-06 06:09:06 +00:00
emukidid
7d3a7a041f
Fixed menuV1 build error and changed malloc to memalign in VI.cpp.
2009-11-05 12:30:30 +00:00
sepp256
4e61ab44cb
Moved texture for N64 CPU rendering to texture cache.
...
It's interesting that having the texture buffer in MEM2 drops about 7 fps from the Pong and Fire demos.
2009-11-03 20:53:11 +00:00
sepp256
f3047fb2f6
Added Render CPU Framebuffer feature go glN64 (currently turned off).
...
VIs/FPS now reset to 0 if no VI/Frame has occurred for 1 second.
TODO: Add CPU Framebuffer option to menuV2.
2009-11-03 20:52:44 +00:00
sepp256
1806554ff4
Fixed FPS/Debug fonts in game for Menu2.
...
Fixed Current ROM Frame button.
2009-10-27 20:38:41 +00:00
sepp256
f1cc86e404
Load progress bar now only drawn once per ROM_cache block load, and it's drawn asynchronously.
2009-10-23 05:02:55 +00:00
sepp256
06e563be0c
Fixed FB tex + 2xSaI tex combination.
2009-10-21 21:57:29 +00:00
sepp256
d3644ff615
Fixed 2xSaI conversion bug for GX_TF_A3RGBA5.
...
Fixed 2xSaI scaling for tex rects.
Added 2xSaI texture menu item for glN64 build.
2009-10-21 21:55:32 +00:00
sepp256
6a6519f48f
Moved xfb's to MEM2.
...
When using component cable for Wii, GX copies a 640 wide FB into a 720 wide xfb. (revert this later)
Something (libogc?) overwrites the bottom 1/4 of one xfb during the splash screen and again just before ROM load. (This is easier to see with component cables because GX isn't overwriting the whole xfb.)
2009-10-21 21:54:22 +00:00
sepp256
85d06292e2
Changed Vector to guVector so we can compile with libogc svn.
...
Removed external gettick declaration.
2009-10-21 21:53:05 +00:00
emukidid
03b8337341
Clearing of flashram in init_flashram.
...
init_font() only called once now, shouldn't see fonts disappear anymore.
2009-10-20 21:24:46 +00:00
sepp256
3a0fcb438d
2xSAI fixes. Some textures are working properly now, but more work needs to be done.
2009-10-20 20:00:11 +00:00
sepp256
a43a13afdf
interpolates are no longer pure virtual
2009-10-20 19:59:51 +00:00
sepp256
5cf0031f61
2xSAI for GX implemented but not working yet.
2009-10-20 19:59:28 +00:00
emukidid
ea0495eba9
new ps code from tehpola branch in 3DMath.h.
...
Using SYS_GetArena1Size now to check heap space.
2009-10-19 13:20:48 +00:00
emukidid
13df44d20e
Moved debug messages into proper flags so we're doing less at runtime. Files effected are mainly in glN64_GX. Turned off SHOW_DEBUG by default for Wii.
2009-10-15 01:21:21 +00:00
sepp256
4bdd439364
Reworked FB tex eviction to evict normal textures over FB textures that have been used in the past frame.
...
Reduced tex cache size for GC to 1.5MB again.
2009-10-14 03:51:29 +00:00
sepp256
22106fd171
Fixed compiler conditional in FrameBuffer.cpp
...
Upped GC tex cache to 2.5MB
2009-10-14 02:41:34 +00:00
sepp256
49a34cfdd5
Fixed FB tex crashes.
...
No longer evict current FB tex.
Increased Tex cache to 1.5 MB for GC so that Banjo Kazooie FB effect works.
2009-10-14 02:40:54 +00:00
sepp256
24dc8a5a96
Fixed menu gfx after running Earthworm Jim or Rampage 2.
...
General code cleanup.
2009-10-14 02:40:17 +00:00
sepp256
f4c437d3e4
Fixed flashing VI/s & FPS text for Zelda logo screen.
2009-10-14 02:39:35 +00:00
sepp256
e20cec10bd
Fixed flipped FB textures.
2009-10-14 02:38:57 +00:00
sepp256
313f818f83
More tweaking to EFB clearing.
...
Fixed crash from FrameBuffer Textures.
(Not sure if this fixes OOT menu crash for GC, yet.)
Fixed ROM cache loading bar.
2009-10-14 02:38:30 +00:00
sepp256
74791a7ecf
Changed EFB clearing to not require a ~200k buffer.
...
Now forcing EFB clear after every Dlist.
Copying EFB only when it has been drawn to.
Tehpola's branch untested, but should be fine.
2009-10-14 02:37:38 +00:00
sepp256
b3cd1e57cf
Framebuffer Tex fixes.
...
EFB clearing rewrite.
Scissoring fix.
Tehpola's branch untested.
2009-10-13 21:35:30 +00:00
sepp256
b9095235a8
Revamped EFB clearing.
...
Reworked FB Textures.
Added FB Texture menu item to dev features menu.
Note: build in tehpola's branch not tested.
Note 2: FB Textures are sometimes unstable. I'm not sure why, yet.
2009-10-13 21:35:02 +00:00
sepp256
b54acef76a
Texture Cache now uses __lwp_heap to manage cached textures.
...
MEM2 is now used on Wii, so there's an extra 1MB of MEM1 free.
2009-10-13 15:29:01 +00:00
sepp256
9cfe68e17d
PS mtx and vector transforms added to glN64, complements of tehpola.
2009-02-08 20:29:13 +00:00
sepp256
53076217ff
Added new timer functions.
...
Using some PS functions to speed up matrix calculations.
Fixed CI texture caching problem.
Fixed texture filter modes for texture rectangles.
Some general code cleanup.
2009-02-02 08:14:12 +00:00
sepp256
9c2f1a682a
Fixed Profiling.
...
Changed Tex cache back to 1MB.
Maybe fixed load block status bar.
2009-01-23 15:53:34 +00:00
sepp256
501f1f971d
Separated __GX__ and _BIG_ENDIAN flags to (hopefully) make glN64 compatible with the PS3.
2009-01-01 19:58:38 +00:00
sepp256
cf7a8eb211
- Fixed texture interleaving (SSB textures).
...
- Cleaned up texture code.
- Added PolygonOffset switching for near clipped triangles.
- Cleaned up combiner code.
- Updated glN64 makefiles.
2008-07-04 05:43:16 +00:00
sepp256
db8964e9fc
- Implemented Fog using GX hardware.
...
Note: Fog requires the patched gx.c included in this update.
- Implemented Polygon Offset using matrix transforms.
Note: Let me know if you still see any flashing co-planar polygons.
- Cleaned up stuff in VI.
- Other various cleanup stuff.
2008-07-03 02:09:40 +00:00
sepp256
7774ed01a1
Added/Fixed viewport and scissoring.
2008-06-09 15:48:12 +00:00
sepp256
da064d5724
Fixed a bunch of things in glN64_GX, such as:
...
- 3D transform handled in hardware when possible (mainly Mario64)
- Fixed clipping and texture perspective correction by hacking the Projection matrix to reproduce the proper z and w coords (GX can't handle homogeneous coordinates :P). Note that this isn't guaranteed to work all the time so I'll have to do more testing.
- Added code to handle primeDepth source.
- Added Ztexture code for primeDepth.
- Fixed AlphaCompare flag.
- Other stuff...
2008-06-08 07:45:23 +00:00
sepp256
2520ca43e5
Moved xfb switching to a retrace callback. Now we don't need to wait for vsync in order to avoid framebuffer tearing.
2008-06-05 03:28:01 +00:00
emukidid
691b3a179f
Removed newlines at the end of debug_stats
2008-05-07 07:56:56 +00:00
sepp256
9b002cbc3b
Changed showFPS to showFPSonScreen.
...
Fixed a few IA texture bugs in GX_gfx.
Commented SDPRINT flag in DEBUG.h.
2008-04-23 03:37:06 +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
sepp256
449f9338f1
Fixed glN64_GX vertex color overflow bug. (only one big one to go!)
...
Fixed Dev Features menu caption indices.
Added Dev Features variables to GX_gfx & soft_gfx plugins.
- Untested.
Updated all Makefiles so the other gfx plugins should now compile.
- Untested.
Added VI/s to FPS display.
2008-04-22 22:24:55 +00:00
sepp256
fc7a8d4165
Fixed SDPRINT file open/close in menu.c.
...
Removed SDPRINT flag from gfx SD logging.
2008-04-22 00:51:45 +00:00
sepp256
274127d0de
Changing showFPS and printToScreen flag functionality.
2008-04-21 23:59:20 +00:00
sepp256
54f3822775
Added functionality to Dev Features submenu. It compiles, but I haven't tested, yet.
2008-04-21 23:20:16 +00:00
sepp256
99fc3d8a04
Fixed Orkin's Combiner info struct.
...
Various TEV combiner fixes.
Fixed texture conversion for IA type textures.
- this fixes highlights on Mario's face, cloud poofs, etc...
Various other changes.
Plugin isn't quite ready for screenies, yet... There are a couple glaring bugs left to fix.
Updated Makefile.GLN64_dev for tehpola's new controller input.
2008-04-21 16:55:45 +00:00
sepp256
6026895dcd
WIP Combiner. It really needs a lot more work, so don't expect much from this commit.
...
Various other fixes/changes.
2008-04-14 00:55:36 +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