mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-11-28 21:18:24 -05:00
early-access version 3614
This commit is contained in:
parent
f9b7bd6c16
commit
43215b4ced
@ -1,7 +1,7 @@
|
|||||||
yuzu emulator early access
|
yuzu emulator early access
|
||||||
=============
|
=============
|
||||||
|
|
||||||
This is the source code for early-access 3612.
|
This is the source code for early-access 3614.
|
||||||
|
|
||||||
## Legal Notice
|
## Legal Notice
|
||||||
|
|
||||||
|
@ -100,8 +100,7 @@ std::string FindSystemTimeZone() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const auto offset = offsets[i];
|
const auto offset = offsets[i];
|
||||||
const int difference =
|
const int difference = static_cast<int>(std::abs(offset - system_offset));
|
||||||
static_cast<int>(std::abs(std::abs(offset) - std::abs(system_offset)));
|
|
||||||
if (difference < min) {
|
if (difference < min) {
|
||||||
min = difference;
|
min = difference;
|
||||||
min_index = i;
|
min_index = i;
|
||||||
|
@ -142,6 +142,9 @@ static constexpr bool GetInteger(const char* name, int& offset, int& value, int
|
|||||||
if (!IsDigit(temp)) {
|
if (!IsDigit(temp)) {
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
if (temp == '0') {
|
||||||
|
return {};
|
||||||
|
}
|
||||||
do {
|
do {
|
||||||
value = value * 10 + (temp - '0');
|
value = value * 10 + (temp - '0');
|
||||||
if (value > max) {
|
if (value > max) {
|
||||||
|
@ -30,7 +30,7 @@ void SHF(TranslatorVisitor& v, u64 insn, const IR::U32& shift, const IR::U32& hi
|
|||||||
union {
|
union {
|
||||||
u64 insn;
|
u64 insn;
|
||||||
BitField<0, 8, IR::Reg> dest_reg;
|
BitField<0, 8, IR::Reg> dest_reg;
|
||||||
BitField<0, 8, IR::Reg> lo_bits_reg;
|
BitField<8, 8, IR::Reg> lo_bits_reg;
|
||||||
BitField<37, 2, MaxShift> max_shift;
|
BitField<37, 2, MaxShift> max_shift;
|
||||||
BitField<47, 1, u64> cc;
|
BitField<47, 1, u64> cc;
|
||||||
BitField<48, 2, u64> x_mode;
|
BitField<48, 2, u64> x_mode;
|
||||||
|
@ -283,7 +283,7 @@ int main(int argc, char** argv) {
|
|||||||
break;
|
break;
|
||||||
case 'u':
|
case 'u':
|
||||||
selected_user = atoi(optarg);
|
selected_user = atoi(optarg);
|
||||||
return 0;
|
break;
|
||||||
case 'v':
|
case 'v':
|
||||||
PrintVersion();
|
PrintVersion();
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user