-
Notifications
You must be signed in to change notification settings - Fork 192
3.0 - Microcode overhaul #816
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop/3.0.0
Are you sure you want to change the base?
Changes from all commits
2365d35
99ab140
ac508b6
d708e61
9ae367b
bf86d4e
2ad4031
ed382ea
c5979e0
1736a99
dc100c2
d682a8d
7bfd7ed
371878c
d9c1ad2
e2038c2
326f93e
14195ae
e84c7d6
731cd26
10cc802
22d5d09
9c6e4eb
b2e8f8b
e3d7871
aac5cc7
8c2d9bd
da6cea3
5c1fba0
c78af91
22bae3a
cf9da2e
8af3114
ae47349
3dbca60
999d092
0e7eac0
a6eb26e
79382a4
0f86221
b7f084b
6a11806
17a1dc7
097c55f
a60c070
75af330
8139d63
f19b3ed
7c6577b
c429527
34933c5
20e2f0c
7a8ec2d
8e04820
09077f3
6b0041b
5181c0f
d9df6ec
12a8906
668b4f7
c5970a3
aad6fcc
86e91cc
da9f1f1
76ac54b
be4543d
ae338f2
64f1a13
f3aef6c
bde273d
c4ef74b
b0be4c2
700032a
72a709d
e5cdea5
80421a2
3f15721
ba3cafb
6f16075
de6ac1a
3168141
5cc9673
d9735b3
bb242af
a96fa7d
3d46772
4b7970c
06dcbe8
da9c5ca
ea28355
270d2ce
3b90744
cebb959
a863282
3aa49e3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2157,8 +2157,6 @@ lib/libs2d_engine.a | |
| !/lib/n64/*.a | ||
| !/lib/ique/*.a | ||
|
|
||
| !/lib/PR/hvqm/*.o | ||
|
|
||
| # .orig files | ||
| *.orig | ||
|
|
||
|
|
||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -152,3 +152,30 @@ | |
| * Only use this if you can test the difference of your hack with and without this change on console. | ||
| */ | ||
| // #define USE_FRUSTRATIO2 | ||
|
|
||
| /** | ||
| * Primary graphics microcode selection | ||
| * Define F3DEX_VERSION as one of the following to select the primary graphics microcode: | ||
| * 2 - F3DZEX2 - (Majora's Mask version). HLE emulator compatible, good console performance. | ||
| * 3 - F3DEX3 - Created by Sauraen. Better console performance in most situations. | ||
| * All microcodes provided by HackerSM64 use the "NoN" (no near-field clipping) variants. | ||
| * A built-in profiler is available for F3DEX3 and can be enabled inside config/config_debug.h | ||
| * under DEBUG_F3DEX3_PROFILER. | ||
| */ | ||
| #define F3DEX_VERSION 2 | ||
|
|
||
| /** | ||
| * Enables usage of the line microcode. It can be loaded with gSPLoadUcode within a display list. | ||
| * This feature is not available for use with F3DEX3. | ||
| */ | ||
|
|
||
| // #define ENABLE_LINE_UCODE | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm, is there any legitimate reason to not just ship this by default with EX2?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I mean it would be an extra 8 KB of RAM wasted
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. But is 8kb really worth an entire config define? That's 2 textures.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why is this not just in the makefile isnt that where it was before |
||
|
|
||
| /** | ||
| * Enables F3DEX3 point lighting engine. | ||
| * Replaces the lighting engine branch. | ||
| * See README.md and src/game/f3dex3.c for more details. | ||
| * NOTE: Game looks visually identical if not setup. | ||
| */ | ||
| #define F3DEX3_LIGHTING_ENGINE | ||
mountainflaw marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -49,6 +49,33 @@ | |
| #undef BETTER_REVERB | ||
| #endif | ||
|
|
||
| /***************** | ||
| * config_graphics.h | ||
| */ | ||
|
|
||
| #ifdef F3DEX_VERSION | ||
| #if F3DEX_VERSION == 2 | ||
| #define F3DEX_GBI_2 | ||
| #elif F3DEX_VERSION == 3 | ||
| #define F3DEX_GBI_3 | ||
| #else | ||
| #error "Invalid microcode selection. Valid options are 2-3 inclusive." | ||
| #endif | ||
| #else | ||
| #error "F3DEX_VERSION is not defined in config/config_graphics.h" | ||
| #endif | ||
|
|
||
| #ifdef ENABLE_LINE_UCODE | ||
| #if F3DEX_VERSION > 2 | ||
| #undef ENABLE_LINE_UCODE | ||
| #warning "F3DEX3 does not support ENABLE_LINE_UCODE, so it will be disabled." | ||
| #endif | ||
| #endif | ||
|
|
||
| #if !defined(F3DEX_GBI_3) && defined(F3DEX3_LIGHTING_ENGINE) | ||
| #undef F3DEX3_LIGHTING_ENGINE | ||
| #endif // F3DEX3_LIGHTING_ENGINE | ||
|
|
||
| /***************** | ||
| * config_debug.h | ||
| */ | ||
|
|
@@ -112,6 +139,15 @@ | |
| #define UNLOCK_ALL | ||
| #endif // COMPLETE_SAVE_FILE | ||
|
|
||
| #ifdef DEBUG_F3DEX3_PROFILER | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should also be undef'd whenever |
||
| #ifdef F3DEX_GBI_3 | ||
| #undef PUPPYPRINT | ||
| #define PUPPYPRINT | ||
| #else | ||
| #undef DEBUG_F3DEX3_PROFILER | ||
| #endif | ||
| #endif // DEBUG_F3DEX3_PROFILER | ||
|
|
||
| #ifdef DEBUG | ||
| #undef DEBUG_ASSERTIONS | ||
| #define DEBUG_ASSERTIONS | ||
|
|
@@ -206,3 +242,4 @@ | |
| #undef BORDER_HEIGHT_EMULATOR | ||
| #define BORDER_HEIGHT_EMULATOR 0 | ||
| #endif // !TARGET_N64 | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.