Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into dev
Browse files Browse the repository at this point in the history
SimoZ64 committed Sep 2, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents 73b4c7f + 24d4173 commit 46f820a
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/Core.cpp
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ void Core::LoadROM(const std::string &rom_) {
cpu->GetMem().LoadROM(isArchive, rom);
GameDB::match(cpu->GetMem());
if (cpu->GetMem().rom.gameNameDB.empty()) {
cpu->GetMem().rom.gameNameDB = fs::path(rom).stem();
cpu->GetMem().rom.gameNameDB = fs::path(rom).stem().string();
}
cpu->GetMem().mmio.vi.isPal = cpu->GetMem().IsROMPAL();
cpu->GetMem().mmio.si.pif.InitDevices(cpu->GetMem().saveType);
4 changes: 4 additions & 0 deletions src/frontend/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -6,6 +6,10 @@ set(CMAKE_CXX_STANDARD 17)
find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets)
find_package(SDL2 CONFIG REQUIRED)

if(WIN32)
add_compile_definitions(NOMINMAX)
endif()

include_directories(
.
../

0 comments on commit 46f820a

Please sign in to comment.