Correct bug where prc/pdb and PRC/PDB were both required to be valid when only one should have been (OR to AND).

This commit is contained in:
Stephanie Gawroriski
2025-05-20 19:48:16 -04:00
parent 841cff206b
commit 2b6c079ca8
5 changed files with 9 additions and 5 deletions

3
.gitignore vendored
View File

@@ -37,4 +37,5 @@ cmake-build-release-visual-studio-1/
userdata-palmos41-en-m515.ram
userdata-en-m515.ram
palmos41-en-m515.rom
default-palmos41-en-m515.ram
default-palmos41-en-m515.ram
/build/

3
.idea/misc.xml generated
View File

@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CMakePythonSetting">
<option name="pythonIntegrationState" value="YES" />
</component>
<component name="CMakeWorkspace" PROJECT_DIR="$PROJECT_DIR$" />
<component name="CidrRootsConfiguration">
<sourceRoots>

View File

@@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.13)
project(Mu
VERSION 1.3.2
VERSION 1.3.3
DESCRIPTION "Classic Palm OS Emulator."
HOMEPAGE_URL https://github.com/libretro/Mu
LANGUAGES C CXX)

View File

@@ -213,7 +213,7 @@ void retro_get_system_info(struct retro_system_info *info){
#ifndef GIT_VERSION
#define GIT_VERSION ""
#endif
info->library_version = "v1.3.2" GIT_VERSION;
info->library_version = "v1.3.3" GIT_VERSION;
info->need_fullpath = true;
info->valid_extensions = "prc|pqa|img|pdb|zip";
@@ -491,7 +491,7 @@ bool loadContentFileNonSRAM(uint32_t *error, uint8_t *contentData,
// Not a PDB or PRC?
if ((0 != strcasecmp((lookStage == 0 ? ".pdb" : ".prc"),
&stat.m_filename[fileNameLen - 4])) ||
&stat.m_filename[fileNameLen - 4])) &&
(0 != strcasecmp((lookStage == 0 ? ".PDB" : ".PRC"),
&stat.m_filename[fileNameLen - 4])))
continue;

View File

@@ -5,7 +5,7 @@ supported_extensions = "prc|pqa|img|pdb|zip"
corename = "Mu"
license = "CC BY-NC 3.0 US (Non-commercial)"
permissions = ""
display_version = "v1.3.2"
display_version = "v1.3.3"
categories = "Emulator"
# Hardware Information