mirror of
https://github.com/open-goal/jak-project
synced 2026-08-22 07:04:29 -04:00
[decomp] progress (#780)
* cleanup `main` * whitespace * start `progress` decomp pt1 * fill in more stuff * Update label_types.jsonc * run cheats * clang * make most of `progress` decompile * `progress` pt 2 * [decompiler] support dynamic format strings * Make `progress-draw` decompile and almost all `progress` * make clang shut up * fix unhandled format string * fix `progress-draw` * Update DecompilerTypeSystem.cpp * fix? * fixes * fix a few functions * make `language-enum` * warn on weird floats * fix minor pad bug * dump stuff in `progress` * make `progress-screen` enum * progress progress * update refs and fix stupid bug * trying to get it to work * it works!? * disable sound functions * fixes * final touches * tests * tests * add process allocations * use the right register for windows * another try for windows, counting is hard * one more try * use process allocations Co-authored-by: water <awaterford111445@gmail.com>
This commit is contained in:
@@ -499,7 +499,7 @@ u64 CPadGetData(u64 cpad_info) {
|
||||
cpad->state = 99;
|
||||
} else {
|
||||
// we have actuators to use.
|
||||
cpad->change_time = 1; // remember to update vibration.
|
||||
cpad->change_time = 1; // remember to update pad times.
|
||||
cpad->state = 75;
|
||||
}
|
||||
break;
|
||||
@@ -672,8 +672,10 @@ u64 DecodeVolume() {
|
||||
return masterConfig.volume;
|
||||
}
|
||||
|
||||
// NOTE: this is originally hardcoded, and returns different values depending on the disc region.
|
||||
// it returns 0 for NTSC-U, 1 for PAL and 2 for NTSC-J
|
||||
u64 DecodeTerritory() {
|
||||
return 0;
|
||||
return masterConfig.territory;
|
||||
}
|
||||
|
||||
u64 DecodeTimeout() {
|
||||
|
||||
Reference in New Issue
Block a user