-
Notifications
You must be signed in to change notification settings - Fork 15
Fix compilation on latest PSL1GHT #2
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
Open
Fancy2209
wants to merge
10
commits into
emukidid:master
Choose a base branch
from
Fancy2209:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
11164e1
Fix compilation on latest PSL1GHT
Fancy2209 6f08352
Use GCM_TEXTURE_FORMAT_B8 instead of GCM_TEXTURE_FORMAT_L8
Fancy2209 352a431
Fix Textures and update rsxutil to match PS3GL
Fancy2209 6b08a75
Fix all #include <sysutil/video_out.h> includes and roms path
Fancy2209 50c11d1
Undo accidental change
Fancy2209 571c5a5
Fix texture channel ordering
Fancy2209 e11936c
Implement more of the GCM Renderer
Fancy2209 ed07771
have actual yield on menu so it doesn't kill Cell
Fancy2209 69ad5de
Fix triangle rendering
Fancy2209 ee6073b
Don't draw InputStatusBar on PS3 (fixes MainFrame running at 1.7 FPS)
Fancy2209 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| build/combined_shader_fpo.h | ||
| build/combined_shader_vpo.h | ||
| *.o | ||
| *.d | ||
| *.self | ||
| *.map | ||
| *.elf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,113 @@ | ||
| /** | ||
| * glN64_GX - Convert.h | ||
| * Copyright (C) 2003 Orkin | ||
| * Copyright (C) 2008, 2009 sepp256 (Port to Wii/Gamecube/PS3) | ||
| * | ||
| * glN64 homepage: http://gln64.emulation64.com | ||
| * Wii64 homepage: http://www.emulatemii.com | ||
| * email address: sepp256@gmail.com | ||
| * | ||
| **/ | ||
| #include "convert.h" | ||
| #include "Types.h" | ||
|
|
||
| #if !(defined(X86_ASM) && defined(__LINUX__)) | ||
| const volatile unsigned char Five2Eight[32] = | ||
| { | ||
| 0, // 00000 = 00000000 | ||
| 8, // 00001 = 00001000 | ||
| 16, // 00010 = 00010000 | ||
| 25, // 00011 = 00011001 | ||
| 33, // 00100 = 00100001 | ||
| 41, // 00101 = 00101001 | ||
| 49, // 00110 = 00110001 | ||
| 58, // 00111 = 00111010 | ||
| 66, // 01000 = 01000010 | ||
| 74, // 01001 = 01001010 | ||
| 82, // 01010 = 01010010 | ||
| 90, // 01011 = 01011010 | ||
| 99, // 01100 = 01100011 | ||
| 107, // 01101 = 01101011 | ||
| 115, // 01110 = 01110011 | ||
| 123, // 01111 = 01111011 | ||
| 132, // 10000 = 10000100 | ||
| 140, // 10001 = 10001100 | ||
| 148, // 10010 = 10010100 | ||
| 156, // 10011 = 10011100 | ||
| 165, // 10100 = 10100101 | ||
| 173, // 10101 = 10101101 | ||
| 181, // 10110 = 10110101 | ||
| 189, // 10111 = 10111101 | ||
| 197, // 11000 = 11000101 | ||
| 206, // 11001 = 11001110 | ||
| 214, // 11010 = 11010110 | ||
| 222, // 11011 = 11011110 | ||
| 230, // 11100 = 11100110 | ||
| 239, // 11101 = 11101111 | ||
| 247, // 11110 = 11110111 | ||
| 255 // 11111 = 11111111 | ||
| }; | ||
|
|
||
| const volatile unsigned char Four2Eight[16] = | ||
| { | ||
| 0, // 0000 = 00000000 | ||
| 17, // 0001 = 00010001 | ||
| 34, // 0010 = 00100010 | ||
| 51, // 0011 = 00110011 | ||
| 68, // 0100 = 01000100 | ||
| 85, // 0101 = 01010101 | ||
| 102, // 0110 = 01100110 | ||
| 119, // 0111 = 01110111 | ||
| 136, // 1000 = 10001000 | ||
| 153, // 1001 = 10011001 | ||
| 170, // 1010 = 10101010 | ||
| 187, // 1011 = 10111011 | ||
| 204, // 1100 = 11001100 | ||
| 221, // 1101 = 11011101 | ||
| 238, // 1110 = 11101110 | ||
| 255 // 1111 = 11111111 | ||
| }; | ||
|
|
||
| const volatile unsigned char Three2Four[8] = | ||
| { | ||
| 0, // 000 = 0000 | ||
| 2, // 001 = 0010 | ||
| 4, // 010 = 0100 | ||
| 6, // 011 = 0110 | ||
| 9, // 100 = 1001 | ||
| 11, // 101 = 1011 | ||
| 13, // 110 = 1101 | ||
| 15, // 111 = 1111 | ||
| }; | ||
|
|
||
| const volatile unsigned char Three2Eight[8] = | ||
| { | ||
| 0, // 000 = 00000000 | ||
| 36, // 001 = 00100100 | ||
| 73, // 010 = 01001001 | ||
| 109, // 011 = 01101101 | ||
| 146, // 100 = 10010010 | ||
| 182, // 101 = 10110110 | ||
| 219, // 110 = 11011011 | ||
| 255, // 111 = 11111111 | ||
| }; | ||
| const volatile unsigned char Two2Eight[4] = | ||
| { | ||
| 0, // 00 = 00000000 | ||
| 85, // 01 = 01010101 | ||
| 170, // 10 = 10101010 | ||
| 255 // 11 = 11111111 | ||
| }; | ||
|
|
||
| const volatile unsigned char One2Four[2] = | ||
| { | ||
| 0, // 0 = 0000 | ||
| 15, // 1 = 1111 | ||
| }; | ||
|
|
||
| const volatile unsigned char One2Eight[2] = | ||
| { | ||
| 0, // 0 = 00000000 | ||
| 255, // 1 = 11111111 | ||
| }; | ||
| #endif |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.