mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-04-11 02:41:32 -06:00
Call CAMExit on camera lib unload
This commit is contained in:
parent
0fc641a352
commit
5e235cbf21
@ -276,11 +276,6 @@ namespace camera
|
||||
s_instance.initialized = false;
|
||||
}
|
||||
|
||||
void reset()
|
||||
{
|
||||
CAMExit(0);
|
||||
}
|
||||
|
||||
class : public COSModule
|
||||
{
|
||||
public:
|
||||
@ -304,11 +299,11 @@ namespace camera
|
||||
{
|
||||
if (reason == coreinit::RplEntryReason::Loaded)
|
||||
{
|
||||
reset();
|
||||
|
||||
}
|
||||
else if (reason == coreinit::RplEntryReason::Unloaded)
|
||||
{
|
||||
// todo
|
||||
CAMExit(0);
|
||||
}
|
||||
}
|
||||
} s_COScameraModule;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user