mirror of
https://github.com/LNH-team/pico-launcher.git
synced 2026-06-02 00:56:55 +02:00
Updated to latest blocksds (Fixes #14)
This commit is contained in:
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
@@ -14,7 +14,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
pico_launcher:
|
pico_launcher:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: skylyrac/blocksds:slim-v1.13.1
|
container: skylyrac/blocksds:slim-v1.16.0
|
||||||
name: Build Pico Launcher
|
name: Build Pico Launcher
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
|
|||||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -7,7 +7,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
pico_launcher:
|
pico_launcher:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: skylyrac/blocksds:slim-v1.13.1
|
container: skylyrac/blocksds:slim-v1.16.0
|
||||||
name: Build Pico Launcher
|
name: Build Pico Launcher
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
|
|||||||
@@ -60,6 +60,16 @@ extern "C" void* memalign(size_t alignment, size_t size)
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extern "C" void* calloc(size_t num, size_t size)
|
||||||
|
{
|
||||||
|
void* result = malloc(num * size);
|
||||||
|
if (result)
|
||||||
|
{
|
||||||
|
memset(result, 0, num * size);
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
void* operator new(std::size_t blocksize)
|
void* operator new(std::size_t blocksize)
|
||||||
{
|
{
|
||||||
return malloc(blocksize);
|
return malloc(blocksize);
|
||||||
|
|||||||
Reference in New Issue
Block a user