Skip to content

Commit 7bf961b

Browse files
committed
Try to fix workflows
1 parent 5621a01 commit 7bf961b

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
uses: actions/checkout@v3
1616
with:
1717
submodules: recursive
18+
ref: ${{ github.event.pull_request.head.ref }}
19+
repository: ${{ github.event.pull_request.head.repo.full_name }}
1820

1921
- name: Checkout binaries
2022
uses: actions/checkout@v3

.github/workflows/build_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
build:
9-
if: ${{ github.event.pull_request.head.repo.full_name == github.repository || github.event_name == 'push' }}
9+
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
1010
runs-on: ubuntu-22.04
1111
steps:
1212
- name: Checkout main repository

docs/decompilation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
## Setup
1212

13-
If you ran `setup.py`, you should have a dump of the debug symbols inside of the `symdump` folder. It includes everything you need regarding debug information (prototypes, local variables, globals, etc).
13+
If you ran `setup.py`, you should have a dump of the debug symbols inside of the `dump/sym` folder. It includes everything you need regarding debug information (prototypes, local variables, globals, etc).
1414

1515
Look for any function that catches your eye, and search for it on the dumped debug symbols (`p3_functions.cpp`).
1616

src/main/mbar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ INCLUDE_ASM("asm/nonmatchings/main/mbar", MbarSclRotMake);
528528
void MbarGuideLightMake(MBARR_CHR *mbarr_pp, int mbtime) {
529529
u_char col = 128;
530530

531-
if (mbtime < 144u) {
531+
if (mbtime >= 0 && mbtime < 144) {
532532
col = (144 - mbtime) * 128 / 144 + 128u;
533533
}
534534

0 commit comments

Comments
 (0)