Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
423743ea5c | ||
|
|
005ed509d5 | ||
|
|
0585bc2740 | ||
|
|
62de97384d | ||
|
|
1a54c2e6fc | ||
|
|
d109c71c15 | ||
|
|
1628a45f7d |
Generated
+1
-1
@@ -1709,7 +1709,7 @@ checksum = "e2db585e1d738fc771bf08a151420d3ed193d9d895a36df7f6f8a9456b911ddc"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "lemur"
|
name = "lemur"
|
||||||
version = "0.2.4"
|
version = "0.2.7"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"bitflags 2.6.0",
|
"bitflags 2.6.0",
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ description = "An emulator for the Virtual Boy."
|
|||||||
repository = "https://git.virtual-boy.com/PVB/lemur"
|
repository = "https://git.virtual-boy.com/PVB/lemur"
|
||||||
publish = false
|
publish = false
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
version = "0.2.4"
|
version = "0.2.7"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|||||||
+4
-2
@@ -27,7 +27,7 @@ fi
|
|||||||
docker build -f build.Dockerfile -t lemur-build .
|
docker build -f build.Dockerfile -t lemur-build .
|
||||||
MSYS_NO_PATHCONV=1 docker run -it --rm -v .:/app -w /app --entrypoint bash lemur-build /app/scripts/do-bundle.sh
|
MSYS_NO_PATHCONV=1 docker run -it --rm -v .:/app -w /app --entrypoint bash lemur-build /app/scripts/do-bundle.sh
|
||||||
|
|
||||||
read -r -d EOF 'body' <<EOF
|
body=$(cat <<EOF
|
||||||
## How to install
|
## How to install
|
||||||
|
|
||||||
The emulator can be found in the "Downloads" section of this release.
|
The emulator can be found in the "Downloads" section of this release.
|
||||||
@@ -48,8 +48,9 @@ If you're not sure which to choose, use [this guide](https://support.apple.com/e
|
|||||||
|
|
||||||
You can either download and run \`lemur-linux\`, or download and install the attached .deb file.
|
You can either download and run \`lemur-linux\`, or download and install the attached .deb file.
|
||||||
EOF
|
EOF
|
||||||
|
)
|
||||||
|
|
||||||
read -r -d EOF 'payload' <<EOF
|
payload=$(cat <<EOF
|
||||||
{
|
{
|
||||||
"body": $(echo "$body" | jq -Rsa .),
|
"body": $(echo "$body" | jq -Rsa .),
|
||||||
"draft": false,
|
"draft": false,
|
||||||
@@ -58,6 +59,7 @@ read -r -d EOF 'payload' <<EOF
|
|||||||
"tag_name": "v${version}"
|
"tag_name": "v${version}"
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
)
|
||||||
|
|
||||||
echo "Creating release..."
|
echo "Creating release..."
|
||||||
response=$(curl -s --json "$payload" "https://git.virtual-boy.com/api/v1/repos/PVB/lemur/releases?token=$RELEASE_TOKEN")
|
response=$(curl -s --json "$payload" "https://git.virtual-boy.com/api/v1/repos/PVB/lemur/releases?token=$RELEASE_TOKEN")
|
||||||
|
|||||||
+1
-1
Submodule shrooms-vb-core updated: 06849b54ba...57dcd8370a
+15
-9
@@ -251,17 +251,23 @@ impl Viewport {
|
|||||||
});
|
});
|
||||||
egui_extras::install_image_loaders(&ctx);
|
egui_extras::install_image_loaders(&ctx);
|
||||||
|
|
||||||
let mut painter = egui_wgpu::winit::Painter::new(
|
#[allow(unused_mut)]
|
||||||
ctx.clone(),
|
let mut wgpu_config = egui_wgpu::WgpuConfiguration {
|
||||||
egui_wgpu::WgpuConfiguration {
|
|
||||||
present_mode: wgpu::PresentMode::AutoNoVsync,
|
present_mode: wgpu::PresentMode::AutoNoVsync,
|
||||||
..egui_wgpu::WgpuConfiguration::default()
|
..egui_wgpu::WgpuConfiguration::default()
|
||||||
},
|
};
|
||||||
1,
|
#[cfg(windows)]
|
||||||
None,
|
{
|
||||||
false,
|
if let egui_wgpu::WgpuSetup::CreateNew {
|
||||||
true,
|
supported_backends, ..
|
||||||
);
|
} = &mut wgpu_config.wgpu_setup
|
||||||
|
{
|
||||||
|
*supported_backends -= wgpu::Backends::VULKAN;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
let mut painter =
|
||||||
|
egui_wgpu::winit::Painter::new(ctx.clone(), wgpu_config, 1, None, false, true);
|
||||||
|
|
||||||
let mut info = ViewportInfo::default();
|
let mut info = ViewportInfo::default();
|
||||||
let mut builder = app.initial_viewport();
|
let mut builder = app.initial_viewport();
|
||||||
|
|||||||
@@ -147,7 +147,8 @@ impl Sim {
|
|||||||
let memory = vec![0u64; size.div_ceil(4)];
|
let memory = vec![0u64; size.div_ceil(4)];
|
||||||
let sim: *mut VB = Box::into_raw(memory.into_boxed_slice()).cast();
|
let sim: *mut VB = Box::into_raw(memory.into_boxed_slice()).cast();
|
||||||
unsafe { vb_init(sim) };
|
unsafe { vb_init(sim) };
|
||||||
unsafe { vb_set_option(sim, VBOption::PseudoHalt, 1) };
|
// pseudohalt is disabled due to breaking red alarm
|
||||||
|
unsafe { vb_set_option(sim, VBOption::PseudoHalt, 0) };
|
||||||
unsafe { vb_reset(sim) };
|
unsafe { vb_reset(sim) };
|
||||||
|
|
||||||
// set up userdata
|
// set up userdata
|
||||||
|
|||||||
Reference in New Issue
Block a user